GEOS
3.9.1
|
Creates all the raw offset curves for a buffer of a Geometry. More...
#include <OffsetCurveSetBuilder.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, geom::Location leftLoc, geom::Location 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, |
geom::Location | leftLoc, | ||
geom::Location | rightLoc | ||
) |
Add raw curves for a set of CoordinateSequences.
lineList | is a list of CoordinateSequence, ownership of which is transferred here |
leftLoc | left location |
rightLoc | right location |
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.