Package org.locationtech.jts.geom
Class Position
- java.lang.Object
-
- org.locationtech.jts.geom.Position
-
public class Position extends java.lang.Object
Indicates the position of a location relative to a node or edge component of a planar topological structure.- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description Position()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
opposite(int position)
Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position otherwise.
-
-
-
Field Detail
-
ON
public static final int ON
Specifies that a location is on a component- See Also:
- Constant Field Values
-
LEFT
public static final int LEFT
Specifies that a location is to the left of a component- See Also:
- Constant Field Values
-
RIGHT
public static final int RIGHT
Specifies that a location is to the right of a component- See Also:
- Constant Field Values
-
-