java.lang.Comparablepublic class OrientedCoordinateArray
extends java.lang.Object
implements java.lang.Comparable
Coordinate arrays
in an orientation-independent way.| Constructor | Description |
|---|---|
OrientedCoordinateArray(Coordinate[] pts) |
Creates a new
OrientedCoordinateArray
for the given Coordinate array. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(java.lang.Object o1) |
Compares two
OrientedCoordinateArrays for their relative order |
public OrientedCoordinateArray(Coordinate[] pts)
OrientedCoordinateArray
for the given Coordinate array.pts - the coordinates to orientpublic int compareTo(java.lang.Object o1)
OrientedCoordinateArrays for their relative ordercompareTo in interface java.lang.ComparableCopyright © 2018. All rights reserved.