19#ifndef GEOS_OP_BUFFER_BUFFERPARAMETERS_H
20#define GEOS_OP_BUFFER_BUFFERPARAMETERS_H
22#include <geos/export.h>
32#pragma warning(disable: 4251)
43 class OffsetCurveVertexList;
273 return _isSingleSided;
280 int quadrantSegments;
283 EndCapStyle endCapStyle;
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Specifies the precision model of the Coordinate in a Geometry.
Definition PrecisionModel.h:87
double getMitreLimit() const
Gets the mitre ratio limit.
Definition BufferParameters.h:225
void setEndCapStyle(EndCapStyle style)
Specifies the end cap style of the generated buffer.
Definition BufferParameters.h:196
void setMitreLimit(double limit)
Sets the limit on the mitre ratio used for very sharp corners.
Definition BufferParameters.h:240
JoinStyle getJoinStyle() const
Gets the join style.
Definition BufferParameters.h:205
BufferParameters(int quadrantSegments)
Creates a set of parameters with the given quadrantSegments value.
EndCapStyle getEndCapStyle() const
Gets the end cap style.
Definition BufferParameters.h:185
EndCapStyle
End cap styles.
Definition BufferParameters.h:63
@ CAP_SQUARE
Specifies a square line buffer end cap style.
Definition BufferParameters.h:72
@ CAP_ROUND
Specifies a round line buffer end cap style.
Definition BufferParameters.h:66
@ CAP_FLAT
Specifies a flat line buffer end cap style.
Definition BufferParameters.h:69
static const double DEFAULT_MITRE_LIMIT
The default mitre limit.
Definition BufferParameters.h:102
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:216
static double bufferDistanceError(int quadSegs)
Computes the maximum distance error due to a given level of approximation to a true arc.
static const int DEFAULT_QUADRANT_SEGMENTS
The default number of facets into which to divide a fillet of 90 degrees.
Definition BufferParameters.h:96
bool isSingleSided() const
Definition BufferParameters.h:272
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
Gets the number of quadrant segments which will be used.
Definition BufferParameters.h:138
void setSingleSided(bool isSingleSided)
Definition BufferParameters.h:262
void setQuadrantSegments(int quadSegs)
Sets the number of line segments used to approximate an angle fillet.
JoinStyle
Join styles.
Definition BufferParameters.h:76
@ JOIN_MITRE
Specifies a mitre join style.
Definition BufferParameters.h:82
@ JOIN_ROUND
Specifies a round join style.
Definition BufferParameters.h:79
@ JOIN_BEVEL
Specifies a bevel join style.
Definition BufferParameters.h:85
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Provides classes for computing buffers of geometries.
Definition opBuffer.h:23
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25