20 #ifndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H
21 #define GEOS_OP_BUFFER_BUFFERPARAMETERS_H
23 #include <geos/export.h>
33 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
39 class CoordinateSequence;
44 class OffsetCurveVertexList;
97 static const int DEFAULT_QUADRANT_SEGMENTS = 8;
170 void setQuadrantSegments(
int quadSegs);
180 static double bufferDistanceError(
int quadSegs);
265 _isSingleSided = isSingleSided;
274 return _isSingleSided;
281 int quadrantSegments;
284 EndCapStyle endCapStyle;
303 #endif // ndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H
EndCapStyle
End cap styles.
Definition: BufferParameters.h:64
EndCapStyle getEndCapStyle() const
Gets the end cap style.
Definition: BufferParameters.h:186
JoinStyle getJoinStyle() const
Gets the join style.
Definition: BufferParameters.h:206
void setJoinStyle(JoinStyle style)
Sets the join style for outside (reflex) corners between line segments.
Definition: BufferParameters.h:217
void setEndCapStyle(EndCapStyle style)
Specifies the end cap style of the generated buffer.
Definition: BufferParameters.h:197
void setMitreLimit(double limit)
Sets the limit on the mitre ratio used for very sharp corners.
Definition: BufferParameters.h:241
double getMitreLimit() const
Gets the mitre ratio limit.
Definition: BufferParameters.h:226
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:58
static const double DEFAULT_MITRE_LIMIT
The default mitre limit.
Definition: BufferParameters.h:103
void setSingleSided(bool isSingleSided)
Definition: BufferParameters.h:263
bool isSingleSided() const
Definition: BufferParameters.h:273
int getQuadrantSegments() const
Gets the number of quadrant segments which will be used.
Definition: BufferParameters.h:139
JoinStyle
Join styles.
Definition: BufferParameters.h:77