Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.vividsolutions.jts.noding.OrientedCoordinateArray
public class OrientedCoordinateArray
extends java.lang.Object
implements Comparable
Coordinate
arrays
in an orientation-independent way.
Constructor Summary | |
|
Method Summary | |
int |
|
public OrientedCoordinateArray(Coordinate[] pts)
Creates a newOrientedCoordinateArray
for the givenCoordinate
array.
- Parameters:
pts
- the coordinates to orient
public int compareTo(Object o1)
Compares twoOrientedCoordinateArray
s for their relative order
- Returns:
- -1 this one is smaller