21 #ifndef GEOS_GEOS_POINT_H
22 #define GEOS_GEOS_POINT_H
24 #include <geos/export.h>
25 #include <geos/platform.h>
26 #include <geos/geom/Geometry.h>
27 #include <geos/geom/Puntal.h>
28 #include <geos/geom/CoordinateSequence.h>
29 #include <geos/geom/Envelope.h>
30 #include <geos/geom/Dimension.h>
32 #include <geos/inline.h>
40 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
47 class CoordinateArraySequence;
48 class CoordinateFilter;
49 class CoordinateSequenceFilter;
50 class GeometryComponentFilter;
159 Envelope::Ptr computeEnvelopeInternal()
const override;
161 int compareToSameClass(
const Geometry *p)
const override;
168 std::unique_ptr<CoordinateSequence> coordinates;
182 #endif // ndef GEOS_GEOS_POINT_H
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
void normalize(void) override
Converts this Geometry to normal form (or canonical form).
Definition: Point.h:131
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
bool isEmpty() const override
Returns whether or not the set of points in this Geometry is empty.
Definition: GeometryComponentFilter.h:43
std::string getGeometryType() const override
Return a string representation of this Geometry type.
Geometry * reverse() const override
Definition: Point.h:136
DimensionType
Definition: Dimension.h:31
const Coordinate * getCoordinate() const override
Returns a vertex of this Geometry, or NULL if this is the empty geometry.
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
Dimension::DimensionType getDimension() const override
Returns point dimension (0)
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
int getCoordinateDimension() const override
Returns coordinate dimension.
size_t getNumPoints() const override
Returns the count of this Geometrys vertices.
Definition: CoordinateSequenceFilter.h:58
Geometry * clone() const override
Definition: Point.h:85
Geometry * getBoundary() const override
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
std::vector< const Point * > ConstVect
A vector of const Point pointers.
Definition: Point.h:75
Point(CoordinateSequence *newCoords, const GeometryFactory *newFactory)
Creates a Point taking ownership of the given CoordinateSequence (must have 1 element)
Definition: CoordinateFilter.h:43
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
void apply_ro(CoordinateSequenceFilter &filter) const override
bool isSimple() const override
Returns false if the Geometry not simple.
Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:48
int getBoundaryDimension() const override
Returns Dimension::False (Point has no boundary)
void apply_rw(CoordinateSequenceFilter &filter) override
CoordinateSequence * getCoordinates(void) const override
Returns this Geometry vertices. Caller takes ownership of the returned object.
bool equalsExact(const Geometry *other, double tolerance=0) const override
Returns true iff the two Geometrys are of the same type and their vertices corresponding by index are...