java.lang.Comparable
public 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
OrientedCoordinateArray s 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)
OrientedCoordinateArray
s for their relative ordercompareTo
in interface java.lang.Comparable
Copyright © 2018. All rights reserved.