public class OrientedCoordinateArray extends Object implements Comparable
Coordinate arrays
in an orientation-independent way.| Constructor and Description |
|---|
OrientedCoordinateArray(Coordinate[] pts)
Creates a new
OrientedCoordinateArray
for the given Coordinate array. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(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(Object o1)
OrientedCoordinateArrays for their relative ordercompareTo in interface ComparableCopyright © 2020. All rights reserved.