21#include <geos/export.h>
31#pragma warning(disable: 4251)
37class CoordinateSequence;
42class OffsetCurveVertexList;
94 static const int DEFAULT_QUADRANT_SEGMENTS = 8;
139 return quadrantSegments;
268 _isSingleSided = p_isSingleSided;
279 return _isSingleSided;
286 int quadrantSegments;
289 EndCapStyle endCapStyle;
Contains the parameters which describe how a buffer should be constructed.
Definition BufferParameters.h:56
double getMitreLimit() const
Definition BufferParameters.h:224
void setEndCapStyle(EndCapStyle style)
Definition BufferParameters.h:189
void setMitreLimit(double limit)
Definition BufferParameters.h:243
JoinStyle getJoinStyle() const
Definition BufferParameters.h:199
BufferParameters(int quadrantSegments)
EndCapStyle getEndCapStyle() const
Definition BufferParameters.h:174
EndCapStyle
End cap styles.
Definition BufferParameters.h:61
static const double DEFAULT_MITRE_LIMIT
Definition BufferParameters.h:100
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:214
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:277
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:137
void setQuadrantSegments(int quadSegs)
Sets the number of line segments used to approximate an angle fillet in round joins.
void setSingleSided(bool p_isSingleSided)
Definition BufferParameters.h:266
JoinStyle
Join styles.
Definition BufferParameters.h:74
Basic namespace for all GEOS functionalities.
Definition geos.h:39