21 #include <geos/export.h> 23 #include <geos/algorithm/PointLocator.h> 24 #include <geos/geom/Dimension.h> 25 #include <geos/geom/Location.h> 26 #include <geos/geomgraph/EdgeList.h> 27 #include <geos/geomgraph/PlanarGraph.h> 28 #include <geos/operation/GeometryGraphOperation.h> 34 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 43 class GeometryFactory;
55 class ElevationMatrix;
190 static std::unique_ptr<geom::Geometry> createEmptyResult(
218 std::vector<geom::Polygon*>* resultPolyList;
220 std::vector<geom::LineString*>* resultLineList;
222 std::vector<geom::Point*>* resultPointList;
224 void computeOverlay(OpCode opCode);
226 void insertUniqueEdges(std::vector<geomgraph::Edge*>* edges,
const geom::Envelope* env =
nullptr);
248 void computeLabelsFromDepths();
254 void replaceCollapsedEdges();
266 void copyPoints(uint8_t argIndex,
const geom::Envelope* env =
nullptr);
276 void computeLabelling();
285 void mergeSymLabels();
287 void updateNodeLabelling();
306 void labelIncompleteNodes();
324 void findResultAreaEdges(OpCode opCode);
330 void cancelDuplicateResultEdges();
337 std::vector<geom::Geometry*>* geomList);
344 std::vector<geom::Polygon*>* geomList);
351 std::vector<geom::LineString*>* geomList);
364 std::vector<geom::Point*>* nResultPointList,
365 std::vector<geom::LineString*>* nResultLineList,
366 std::vector<geom::Polygon*>* nResultPolyList,
370 std::vector<geomgraph::Edge*>dupEdges;
389 bool avgzcomputed[2];
391 double getAverageZ(uint8_t targetIndex);
394 ElevationMatrix* elevationMatrix;
398 void checkObviouslyWrongResult(OpCode opCode);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
geomgraph::PlanarGraph & getGraph()
Gets the graph constructed to compute the overlay.
Definition: OverlayOp.h:150
Represents a directed graph which is embeddable in a planar surface.
Definition: geomgraph/PlanarGraph.h:72
OpCode
The spatial functions supported by this class.
Definition: OverlayOp.h:78
A EdgeList is a list of Edges.
Definition: EdgeList.h:55
Computes the geometric overlay of two Geometry.
Definition: OverlayOp.h:69
Computes the topological relationship (Location) of a single point to a Geometry. ...
Definition: PointLocator.h:56
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: LineString.h:66
The base class for operations that require GeometryGraph.
Definition: GeometryGraphOperation.h:51
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
A Label indicates the topological relationship of a component of a topology graph to a given Geometry...
Definition: Label.h:57
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
The node component of a geometry graph.
Definition: geomgraph/Node.h:59
Definition: geomgraph/Edge.h:63
DimensionType
Definition: Dimension.h:29