public class MonotoneChainBuilder extends Object
MonotoneChain
s
for sequences of Coordinate
s.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
MonotoneChain s
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)
MonotoneChain
s
for the given list of coordinates.public static int[] getChainStartIndices(Coordinate[] pts)
Copyright © 2016. All rights reserved.