21 #ifndef GEOS_GEOS_POINT_H 22 #define GEOS_GEOS_POINT_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;
75 ~
Point()
override =
default;
83 std::unique_ptr<Geometry>
86 return std::unique_ptr<Geometry>(
new Point(*
this));
89 std::unique_ptr<CoordinateSequence> getCoordinates(
void)
const override;
93 size_t getNumPoints()
const override;
94 bool isEmpty()
const override;
95 bool isSimple()
const override;
101 uint8_t getCoordinateDimension()
const override;
104 int getBoundaryDimension()
const override;
114 std::unique_ptr<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;
139 std::unique_ptr<Geometry>
167 int compareToSameClass(
const Geometry* p)
const override;
197 #endif // ndef GEOS_GEOS_POINT_H std::unique_ptr< Geometry > reverse() const override
Computes a new geometry which has all component coordinate sequences in reverse order (opposite orien...
Geometry classes support the concept of applying a Geometry filter to the Geometry.
std::vector< const Point * > ConstVect
A vector of const Point pointers.
Coordinate is the lightweight class used to store coordinates.
Interface for classes which provide operations that can be applied to the coordinates in a Coordinate...
GeometryTypeId
Geometry types.
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Geometry classes support the concept of applying a coordinate filter to every coordinate in the Geome...
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
void normalize(void) override
Basic namespace for all GEOS functionalities.
std::unique_ptr< Geometry > clone() const override
int getSortIndex() const override
The internal representation of a list of coordinates inside a Geometry.
std::unique_ptr< Envelope > Ptr
FixedSizeCoordinateSequence< 1 > coordinates