20 #ifndef GEOS_OP_BUFFER_OFFSETCURVEBUILDER_H 21 #define GEOS_OP_BUFFER_OFFSETCURVEBUILDER_H 33 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 39 class CoordinateSequence;
76 precisionModel(newPrecisionModel),
103 bool isLineOffsetEmpty(
double distance);
119 std::vector<geom::CoordinateSequence*>& lineList);
140 double distance, std::vector<geom::CoordinateSequence*>& lineList,
141 bool leftSide,
bool rightSide) ;
155 std::vector<geom::CoordinateSequence*>& lineList);
181 double simplifyTolerance(
double bufDistance);
193 std::unique_ptr<OffsetSegmentGenerator> getSegGen(
double dist);
212 #endif // ndef GEOS_OP_BUFFER_OFFSETCURVEBUILDER_H const geom::PrecisionModel * precisionModel
Coordinate is the lightweight class used to store coordinates.
const BufferParameters & bufParams
Specifies the precision model of the Coordinate in a Geometry.
Computes the raw offset curve for a single Geometry component (ring, line or point).
const BufferParameters & getBufferParameters() const
Gets the buffer parameters being used to generate the curve.
Basic namespace for all GEOS functionalities.
static const double SIMPLIFY_FACTOR
Use a value which results in a potential distance error which is significantly less than the error du...
Contains the parameters which describe how a buffer should be constructed.
The internal representation of a list of coordinates inside a Geometry.
OffsetCurveBuilder(const geom::PrecisionModel *newPrecisionModel, const BufferParameters &nBufParams)