public class MonotoneChainBuilder
extends java.lang.Object
MonotoneChain
s
for sequences of Coordinate
s.Constructor | Description |
---|---|
MonotoneChainBuilder() |
Modifier and Type | Method | Description |
---|---|---|
static java.util.List |
getChains(Coordinate[] pts) |
|
static java.util.List |
getChains(Coordinate[] pts,
java.lang.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(java.util.List list) |
public static int[] toIntArray(java.util.List list)
public static java.util.List getChains(Coordinate[] pts)
public static java.util.List getChains(Coordinate[] pts, java.lang.Object context)
MonotoneChain
s
for the given list of coordinates.public static int[] getChainStartIndices(Coordinate[] pts)
Copyright © 2018. All rights reserved.