|
JTS Topology Suite - v 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vividsolutions.jts.geomgraph.Position
public class Position
A Position indicates the position of a Location relative to a graph component (Node, Edge, or Area).
| Field Summary | |
|---|---|
static int |
LEFT
An indicator that a Location is to the left of a GraphComponent |
static int |
ON
An indicator that a Location is on a GraphComponent |
static int |
RIGHT
An indicator that a Location is to the right of a GraphComponent |
| Constructor Summary | |
|---|---|
Position()
|
|
| Method Summary | |
|---|---|
static int |
opposite(int position)
Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ON
public static final int LEFT
public static final int RIGHT
| Constructor Detail |
|---|
public Position()
| Method Detail |
|---|
public static final int opposite(int position)
|
JTS Topology Suite - v 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||