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. |
public OrientedCoordinateArray(Coordinate[] pts)
OrientedCoordinateArray
for the given Coordinate
array.pts
- the coordinates to orientpublic int compareTo(Object o1)
OrientedCoordinateArray
s for their relative ordercompareTo
in interface Comparable
Copyright © 2015. All rights reserved.