21 #ifndef GEOS_GEOS_POINT_H
22 #define GEOS_GEOS_POINT_H
24 #include <geos/export.h>
25 #include <geos/geom/Geometry.h>
26 #include <geos/geom/Puntal.h>
27 #include <geos/geom/CoordinateSequence.h>
28 #include <geos/geom/Envelope.h>
29 #include <geos/geom/Dimension.h>
31 #include <geos/inline.h>
39 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
46 class CoordinateArraySequence;
47 class CoordinateFilter;
48 class CoordinateSequenceFilter;
49 class GeometryComponentFilter;
86 return new Point(*
this);
93 size_t getNumPoints()
const override;
94 bool isEmpty()
const override;
95 bool isSimple()
const override;
101 int getCoordinateDimension()
const override;
104 int getBoundaryDimension()
const override;
114 Geometry* getBoundary()
const override;
119 const Coordinate* getCoordinate()
const override;
120 std::string getGeometryType()
const override;
131 bool equalsExact(
const Geometry* other,
double tolerance = 0)
const override;
163 Envelope::Ptr computeEnvelopeInternal()
const override;
165 int compareToSameClass(
const Geometry* p)
const override;
168 getSortIndex()
const override
170 return SORTINDEX_POINT;
178 std::unique_ptr<CoordinateSequence> coordinates;
192 #endif // ndef GEOS_GEOS_POINT_H
Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:47
std::vector< const Point * > ConstVect
A vector of const Point pointers.
Definition: Point.h:73
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Definition: CoordinateSequenceFilter.h:58
GeometryTypeId
Geometry types.
Definition: Geometry.h:74
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:187
Definition: CoordinateFilter.h:43
Geometry * clone() const override
Definition: Point.h:84
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
void normalize(void) override
Converts this Geometry to normal form (or canonical form).
Definition: Point.h:134
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Geometry * reverse() const override
Definition: Point.h:140
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
DimensionType
Definition: Dimension.h:31
Definition: GeometryComponentFilter.h:43