Class Region

java.lang.Object
jmri.jmrix.rps.Region

@Immutable
public class Region
extends Object
Represent a region in space for the RPS system.

The region is specified by a right-handed set of points.

Regions are immutable once created.

This initial implementation of a Region is inherently 2-dimensional, deferring use of the 3rd (Z) dimension to a later implementation. It uses a Java2D GeneralPath to handle the inside/outside calculations.