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;
76 static constexpr
int MAX_INVERTED_RING_SIZE = 9;
77 static constexpr
int INVERTED_CURVE_VERTEX_FACTOR = 4;
78 static constexpr
double NEARNESS_FACTOR = 0.99;
82 std::vector<geomgraph::Label*> newLabels;
90 std::vector<noding::SegmentString*> curveList;
91 bool isInvertOrientation =
false;
167 static bool isRingCurveInverted(
178 static double maxDistance(
191 double bufferDistance);
212 double bufferDistance);
241 : inputGeom(newInputGeom)
242 , distance(newDistance)
243 , curveBuilder(newPm, newBufParams)
245 , isInvertOrientation(false)
259 std::vector<noding::SegmentString*>& getCurves();
268 void addCurves(
const std::vector<geom::CoordinateSequence*>& lineList,
280 isInvertOrientation = p_isInvertOrientation;
Creates all the raw offset curves for a buffer of a Geometry.
Definition: BufferCurveSetBuilder.h:72
void setInvertOrientation(bool p_isInvertOrientation)
Definition: BufferCurveSetBuilder.h:279
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:90
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: LineString.h:65
Represents a linear polygon, which may include holes.
Definition: Polygon.h:60
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:236
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