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;
280 _isSingleSided = p_isSingleSided;
291 return _isSingleSided;
298 int quadrantSegments;
301 EndCapStyle endCapStyle;
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:56
double getMitreLimit() const
Definition: BufferParameters.h:236
void setEndCapStyle(EndCapStyle style)
Definition: BufferParameters.h:201
void setMitreLimit(double limit)
Definition: BufferParameters.h:255
JoinStyle getJoinStyle() const
Definition: BufferParameters.h:211
BufferParameters(int quadrantSegments)
EndCapStyle getEndCapStyle() const
Definition: BufferParameters.h:186
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:226
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:289
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.
void setSingleSided(bool p_isSingleSided)
Definition: BufferParameters.h:278
JoinStyle
Join styles.
Definition: BufferParameters.h:74
Basic namespace for all GEOS functionalities.
Definition: geos.h:39