22#include <geos/export.h>
24#include <geos/operation/buffer/BufferParameters.h>
25#include <geos/operation/buffer/OffsetSegmentGenerator.h>
32#pragma warning(disable: 4251)
38class CoordinateSequence;
75 precisionModel(newPrecisionModel),
118 std::vector<geom::CoordinateSequence*>& lineList);
139 double distance, std::vector<geom::CoordinateSequence*>& lineList,
140 bool leftSide,
bool rightSide) ;
154 std::vector<geom::CoordinateSequence*>& lineList);
158 std::vector<geom::CoordinateSequence*>& lineList);
175 static const double SIMPLIFY_FACTOR;
184 double simplifyTolerance(
double bufDistance);
196 std::unique_ptr<OffsetSegmentGenerator> getSegGen(
double dist);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:90
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:56
Computes the raw offset curve for a single Geometry component (ring, line or point).
Definition: OffsetCurveBuilder.h:61
const BufferParameters & getBufferParameters() const
Gets the buffer parameters being used to generate the curve.
Definition: OffsetCurveBuilder.h:85
void getLineCurve(const geom::CoordinateSequence *inputPts, double distance, std::vector< geom::CoordinateSequence * > &lineList)
This method handles single points as well as lines.
void getRingCurve(const geom::CoordinateSequence *inputPts, int side, double distance, std::vector< geom::CoordinateSequence * > &lineList)
This method handles the degenerate cases of single points and lines, as well as rings.
bool isLineOffsetEmpty(double distance)
void getSingleSidedLineCurve(const geom::CoordinateSequence *inputPts, double distance, std::vector< geom::CoordinateSequence * > &lineList, bool leftSide, bool rightSide)
This method handles single points as well as lines.
Definition: OffsetSegmentGenerator.h:60
Basic namespace for all GEOS functionalities.
Definition: geos.h:39