public class MonotoneChainBuilder extends Object
MonotoneChains for sequences of
Coordinates.
| Constructor and Description |
|---|
MonotoneChainBuilder()
|
| Modifier and Type | Method and Description |
|---|---|
static List |
getChains(Coordinate
|
static List |
getChains(Coordinate
Return a list of the
MonotoneChains for the given list of coordinates.
|
static int[] |
getChainStartIndices(Coordinate
Return an array containing lists of start/end indexes of the monotone chains for the given list of coordinates.
|
static int[] |
toIntArray(List
|
public static int[] toIntArray(Listlist)
public static ListgetChains(Coordinate [] pts)
public static ListgetChains(Coordinate [] pts, Object context)
MonotoneChains for the given list of coordinates.
public static int[] getChainStartIndices(Coordinate[] pts)