17#include <geos/algorithm/locate/IndexedPointInAreaLocator.h>
18#include <geos/algorithm/locate/PointOnGeometryLocator.h>
19#include <geos/geom/Coordinate.h>
20#include <geos/geom/Envelope.h>
21#include <geos/geom/Geometry.h>
22#include <geos/geom/Location.h>
23#include <geos/export.h>
44class GEOS_DLL InputGeometry {
49 std::array<const Geometry*, 2> geom;
50 std::unique_ptr<PointOnGeometryLocator> ptLocatorA;
51 std::unique_ptr<PointOnGeometryLocator> ptLocatorB;
52 std::array<bool, 2> isCollapsed;
60 bool isSingle()
const;
61 int getDimension(uint8_t index)
const;
62 const Geometry* getGeometry(uint8_t geomIndex)
const;
63 const Envelope* getEnvelope(uint8_t geomIndex)
const;
64 bool isEmpty(uint8_t geomIndex)
const;
65 bool isArea(uint8_t geomIndex)
const;
66 int getAreaIndex()
const;
67 bool isLine(uint8_t geomIndex)
const;
68 bool isAllPoints()
const;
69 bool hasPoints()
const;
78 bool hasEdges(uint8_t geomIndex)
const;
94 void setCollapsed(uint8_t geomIndex,
bool isGeomCollapsed);
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:36
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Classes which determine the Location of points in geometries.
Definition: IndexedPointInAreaLocator.h:40
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Basic namespace for all GEOS functionalities.
Definition: geos.h:39