Constructs MonotoneChains for sequences of Coordinates.
More...
#include <MonotoneChainBuilder.h>
Constructs MonotoneChains for sequences of Coordinates.
TODO: use vector<const Coordinate*> instead ?
◆ MonotoneChainBuilder()
◆ getChains()
Computes a list of the MonotoneChain
s for a list of coordinates, attaching a context data object to each.
- Parameters
-
| pts | the list of points to compute chains for |
| context | a data object to attach to each chain |
[out] | mcList | a list of the monotone chains for the points |
The documentation for this class was generated from the following file: