19 #ifndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H
20 #define GEOS_OP_BUFFER_BUFFERPARAMETERS_H
22 #include <geos/export.h>
32 #pragma warning(disable: 4251)
38 class CoordinateSequence;
43 class OffsetCurveVertexList;
95 static const int DEFAULT_QUADRANT_SEGMENTS = 8;
140 return quadrantSegments;
281 _isSingleSided = p_isSingleSided;
292 return _isSingleSided;
299 int quadrantSegments;
302 EndCapStyle endCapStyle;
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:57
double getMitreLimit() const
Definition: BufferParameters.h:237
void setEndCapStyle(EndCapStyle style)
Definition: BufferParameters.h:202
void setMitreLimit(double limit)
Definition: BufferParameters.h:256
JoinStyle getJoinStyle() const
Definition: BufferParameters.h:212
BufferParameters(int quadrantSegments)
EndCapStyle getEndCapStyle() const
Definition: BufferParameters.h:187
EndCapStyle
End cap styles.
Definition: BufferParameters.h:62
static const double DEFAULT_MITRE_LIMIT
Definition: BufferParameters.h:101
BufferParameters(int quadrantSegments, EndCapStyle endCapStyle, JoinStyle joinStyle, double mitreLimit)
Creates a set of parameters with the given parameter values.
void setJoinStyle(JoinStyle style)
Sets the join style for outside (reflex) corners between line segments.
Definition: BufferParameters.h:227
static double bufferDistanceError(int quadSegs)
Computes the maximum distance error due to a given level of approximation to a true arc.
bool isSingleSided() const
Definition: BufferParameters.h:290
BufferParameters()
Creates a default set of parameters.
BufferParameters(int quadrantSegments, EndCapStyle endCapStyle)
Creates a set of parameters with the given quadrantSegments and endCapStyle values.
int getQuadrantSegments() const
Definition: BufferParameters.h:138
void setQuadrantSegments(int quadSegs)
Sets the number of line segments used to approximate an angle fillet.
void setSingleSided(bool p_isSingleSided)
Definition: BufferParameters.h:279
JoinStyle
Join styles.
Definition: BufferParameters.h:75
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26