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