22 #include <geos/export.h> 23 #include <geos/geom/Location.h> 24 #include <geos/operation/buffer/OffsetCurveBuilder.h> 30 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 39 class GeometryCollection;
53 class BufferParameters;
78 static constexpr
int MAX_INVERTED_RING_SIZE = 9;
79 static constexpr
int INVERTED_CURVE_VERTEX_FACTOR = 4;
80 static constexpr
double NEARNESS_FACTOR = 0.99;
84 std::vector<geomgraph::Label*> newLabels;
92 std::vector<noding::SegmentString*> curveList;
93 bool isInvertOrientation =
false;
173 static bool isRingCurveInverted(
188 static bool hasPointOnBuffer(
202 double bufferDistance);
205 double bufferDistance);
226 double bufferDistance);
255 : inputGeom(newInputGeom)
256 , distance(newDistance)
257 , curveBuilder(newPm, newBufParams)
259 , isInvertOrientation(false)
273 std::vector<noding::SegmentString*>& getCurves();
282 void addCurves(
const std::vector<geom::CoordinateSequence*>& lineList,
294 isInvertOrientation = p_isInvertOrientation;
Creates all the raw offset curves for a buffer of a Geometry.
Definition: BufferCurveSetBuilder.h:72
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:59
void setInvertOrientation(bool p_isInvertOrientation)
Definition: BufferCurveSetBuilder.h:293
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:88
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:197
Definition: LineString.h:66
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Computes the raw offset curve for a single Geometry component (ring, line or point).
Definition: OffsetCurveBuilder.h:68
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:51
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
BufferCurveSetBuilder(const geom::Geometry &newInputGeom, double newDistance, const geom::PrecisionModel *newPm, const BufferParameters &newBufParams)
Constructor.
Definition: BufferCurveSetBuilder.h:250
Contains the parameters which describe how a buffer should be constructed.
Definition: BufferParameters.h:56
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...
Definition: LinearRing.h:54
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56