21 #ifndef GEOS_OP_BUFFER_BUFFEROP_H
22 #define GEOS_OP_BUFFER_BUFFEROP_H
24 #include <geos/export.h>
25 #include <geos/operation/buffer/BufferParameters.h>
27 #include <geos/util/TopologyException.h>
31 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
89 static const int MAX_PRECISION_DIGITS = 12;
108 double distance,
int maxPrecisionDigits);
122 void computeGeometry();
124 void bufferOriginalPrecision();
126 void bufferReducedPrecision(
int precisionDigits);
128 void bufferReducedPrecision();
161 int quadrantSegments=
201 inline void setEndCapStyle(
int nEndCapStyle);
210 inline void setQuadrantSegments(
int nQuadrantSegments);
232 inline void setSingleSided(
bool isSingleSided);
273 #endif // ndef GEOS_OP_BUFFER_BUFFEROP_H
EndCapStyle
End cap styles.
Definition: BufferParameters.h:63
BufferOp(const geom::Geometry *g)
Definition: BufferOp.h:170
void setQuadrantSegments(int quadSegs)
Sets the number of line segments used to approximate an angle fillet.
void setQuadrantSegments(int nQuadrantSegments)
Definition: BufferOp.h:248
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:87
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
Specifies a round line buffer end cap style.
Definition: BufferParameters.h:66
void setEndCapStyle(int nEndCapStyle)
Definition: BufferOp.h:254
void setEndCapStyle(EndCapStyle style)
Specifies the end cap style of the generated buffer.
Definition: BufferParameters.h:196
Specifies a flat line buffer end cap style.
Definition: BufferParameters.h:69
BufferOp(const geom::Geometry *g, const BufferParameters ¶ms)
Definition: BufferOp.h:186
Specifies a square line buffer end cap style.
Definition: BufferParameters.h:72
Computes the buffer of a geometry, for both positive and negative buffer distances.
Definition: BufferOp.h:78
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:57
static const int DEFAULT_QUADRANT_SEGMENTS
The default number of facets into which to divide a fillet of 90 degrees.
Definition: BufferParameters.h:96
void setSingleSided(bool isSingleSided)
Definition: BufferParameters.h:262
Indicates an invalid or inconsistent topological situation encountered during processing.
Definition: TopologyException.h:35
void setSingleSided(bool isSingleSided)
Definition: BufferOp.h:260