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;
96 static const int DEFAULT_QUADRANT_SEGMENTS = 8;
169 void setQuadrantSegments(
int quadSegs);
179 static double bufferDistanceError(
int quadSegs);
264 _isSingleSided = isSingleSided;
273 return _isSingleSided;
280 int quadrantSegments;
283 EndCapStyle endCapStyle;
302 #endif // ndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H int getQuadrantSegments() const
Gets the number of quadrant segments which will be used.
Definition: BufferParameters.h:138
EndCapStyle
End cap styles.
Definition: BufferParameters.h:63
JoinStyle getJoinStyle() const
Gets the join style.
Definition: BufferParameters.h:205
double getMitreLimit() const
Gets the mitre ratio limit.
Definition: BufferParameters.h:225
void setJoinStyle(JoinStyle style)
Sets the join style for outside (reflex) corners between line segments.
Definition: BufferParameters.h:216
void setEndCapStyle(EndCapStyle style)
Specifies the end cap style of the generated buffer.
Definition: BufferParameters.h:196
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
void setMitreLimit(double limit)
Sets the limit on the mitre ratio used for very sharp corners.
Definition: BufferParameters.h:240
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:57
static const double DEFAULT_MITRE_LIMIT
The default mitre limit.
Definition: BufferParameters.h:102
bool isSingleSided() const
Definition: BufferParameters.h:272
EndCapStyle getEndCapStyle() const
Gets the end cap style.
Definition: BufferParameters.h:185
void setSingleSided(bool isSingleSided)
Definition: BufferParameters.h:262
JoinStyle
Join styles.
Definition: BufferParameters.h:76