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
OrientedCoordinateArray s for their relative order |
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 © 2020. All rights reserved.