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;
95 static const int DEFAULT_QUADRANT_SEGMENTS = 8;
140 return quadrantSegments;
172 void setQuadrantSegments(
int quadSegs);
182 static double bufferDistanceError(
int quadSegs);
283 _isSingleSided = p_isSingleSided;
294 return _isSingleSided;
301 int quadrantSegments;
304 EndCapStyle endCapStyle;
323 #endif // ndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H
JoinStyle
Join styles.
Definition: BufferParameters.h:75
int getQuadrantSegments() const
Gets the number of quadrant segments which will be used.
Definition: BufferParameters.h:138
EndCapStyle
End cap styles.
Definition: BufferParameters.h:62
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
EndCapStyle getEndCapStyle() const
Gets the end cap style.
Definition: BufferParameters.h:189
void setJoinStyle(JoinStyle style)
Sets the join style for outside (reflex) corners between line segments.
Definition: BufferParameters.h:229
double getMitreLimit() const
Gets the mitre ratio limit.
Definition: BufferParameters.h:239
static const double DEFAULT_MITRE_LIMIT
The default mitre limit.
Definition: BufferParameters.h:101
bool isSingleSided() const
Definition: BufferParameters.h:292
void setSingleSided(bool p_isSingleSided)
Definition: BufferParameters.h:281
void setEndCapStyle(EndCapStyle style)
Specifies the end cap style of the generated buffer.
Definition: BufferParameters.h:204
JoinStyle getJoinStyle() const
Gets the join style.
Definition: BufferParameters.h:214
void setMitreLimit(double limit)
Sets the limit on the mitre ratio used for very sharp corners.
Definition: BufferParameters.h:258
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:57