GEOS
3.4.2
|
Creates all the raw offset curves for a buffer of a Geometry. More...
#include <geos/opBuffer.h>
Public Member Functions | |
OffsetCurveSetBuilder (const geom::Geometry &newInputGeom, double newDistance, OffsetCurveBuilder &newCurveBuilder) | |
Constructor. | |
~OffsetCurveSetBuilder () | |
Destructor. | |
std::vector < noding::SegmentString * > & | getCurves () |
Computes the set of raw offset curves for the buffer. More... | |
void | addCurves (const std::vector< geom::CoordinateSequence * > &lineList, int leftLoc, int rightLoc) |
Add raw curves for a set of CoordinateSequences. More... | |
Creates all the raw offset curves for a buffer of a Geometry.
Raw curves need to be noded together and polygonized to form the final buffer area.
void geos::operation::buffer::OffsetCurveSetBuilder::addCurves | ( | const std::vector< geom::CoordinateSequence * > & | lineList, |
int | leftLoc, | ||
int | rightLoc | ||
) |
Add raw curves for a set of CoordinateSequences.
lineList | is a list of CoordinateSequence, ownership of which is transferred here. |
std::vector<noding::SegmentString*>& geos::operation::buffer::OffsetCurveSetBuilder::getCurves | ( | ) |
Computes the set of raw offset curves for the buffer.
Each offset curve has an attached geomgraph::Label indicating its left and right location.