22 #ifndef GEOS_GEOS_POINT_H
23 #define GEOS_GEOS_POINT_H
25 #include <geos/export.h>
26 #include <geos/platform.h>
27 #include <geos/geom/Geometry.h>
28 #include <geos/geom/Puntal.h>
29 #include <geos/geom/CoordinateSequence.h>
30 #include <geos/geom/Envelope.h>
31 #include <geos/geom/Dimension.h>
33 #include <geos/inline.h>
41 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
48 class CoordinateArraySequence;
49 class CoordinateFilter;
50 class CoordinateSequenceFilter;
51 class GeometryComponentFilter;
92 size_t getNumPoints()
const;
94 bool isSimple()
const;
100 virtual int getCoordinateDimension()
const;
103 int getBoundaryDimension()
const;
118 std::string getGeometryType()
const;
129 bool equalsExact(
const Geometry *other,
double tolerance=0)
const;
155 Point(CoordinateSequence *newCoords,
const GeometryFactory *newFactory);
157 Point(
const Point &p);
159 Envelope::AutoPtr computeEnvelopeInternal()
const;
161 int compareToSameClass(
const Geometry *p)
const;
168 std::auto_ptr<CoordinateSequence> coordinates;
182 #endif // ndef GEOS_GEOS_POINT_H