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