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