19 #ifndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H
20 #define GEOS_OP_BUFFER_BUFFERPARAMETERS_H
22 #include <geos/export.h>
32 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
38 class CoordinateSequence;
43 class OffsetCurveVertexList;
57 class GEOS_DLL BufferParameters {
95 static const int DEFAULT_QUADRANT_SEGMENTS = 8;
101 static const double DEFAULT_MITRE_LIMIT;
110 BufferParameters(
int quadrantSegments);
119 BufferParameters(
int quadrantSegments, EndCapStyle endCapStyle);
130 BufferParameters(
int quadrantSegments, EndCapStyle endCapStyle,
131 JoinStyle joinStyle,
double mitreLimit);
138 getQuadrantSegments()
const
140 return quadrantSegments;
172 void setQuadrantSegments(
int quadSegs);
182 static double bufferDistanceError(
int quadSegs);
189 getEndCapStyle()
const
239 getMitreLimit()
const
258 setMitreLimit(
double limit)
281 setSingleSided(
bool p_isSingleSided)
283 _isSingleSided = p_isSingleSided;
292 isSingleSided()
const
294 return _isSingleSided;
301 int quadrantSegments;
304 EndCapStyle endCapStyle;
323 #endif // ndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H