20 #ifndef GEOS_OP_BUFFER_OFFSETCURVESETBUILDER_H 21 #define GEOS_OP_BUFFER_OFFSETCURVESETBUILDER_H 23 #include <geos/export.h> 24 #include <geos/geom/Location.h> 30 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 37 class CoordinateSequence;
38 class GeometryCollection;
52 class OffsetCurveBuilder;
75 static constexpr
int MAX_INVERTED_RING_SIZE = 9;
76 static constexpr
double NEARNESS_FACTOR = 0.99;
80 std::vector<geomgraph::Label*> newLabels;
88 std::vector<noding::SegmentString*> curveList;
89 bool isInvertOrientation =
false;
165 static bool isRingCurveInverted(
176 static double maxDistance(
189 double bufferDistance);
210 double bufferDistance);
248 std::vector<noding::SegmentString*>& getCurves();
257 void addCurves(
const std::vector<geom::CoordinateSequence*>& lineList,
269 isInvertOrientation = p_isInvertOrientation;
282 #endif // ndef GEOS_OP_BUFFER_OFFSETCURVESETBUILDER_H Creates all the raw offset curves for a buffer of a Geometry.
Definition: OffsetCurveSetBuilder.h:71
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: LineString.h:68
void setInvertOrientation(bool p_isInvertOrientation)
Definition: OffsetCurveSetBuilder.h:268
Represents a linear polygon, which may include holes.
Definition: Polygon.h:64
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
Computes the raw offset curve for a single Geometry component (ring, line or point).
Definition: OffsetCurveBuilder.h:62
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Basic namespace for all GEOS functionalities.
Definition: Angle.h:26
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...
Definition: LinearRing.h:57
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58