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)
Computes a list of the
MonotoneChains
for a list of coordinates. |
static List |
getChains(Coordinate[] pts,
Object context)
Computes a list of the
MonotoneChains
for a list of coordinates,
attaching a context data object to each. |
public static List getChains(Coordinate[] pts)
MonotoneChains
for a list of coordinates.pts - the list of points to compute chains forpublic static List getChains(Coordinate[] pts, Object context)
MonotoneChains
for a list of coordinates,
attaching a context data object to each.pts - the list of points to compute chains forcontext - a data object to attach to each chainCopyright © 2024. All rights reserved.