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
Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:49
void normalize(void)
Converts this Geometry to normal form (or canonical form).
Definition: Point.h:131
Geometry * clone() const
Definition: Point.h:86
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:61
Definition: CoordinateSequenceFilter.h:59
GeometryTypeId
Geometry types.
Definition: Geometry.h:66
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
Definition: CoordinateFilter.h:44
std::vector< const Point * > ConstVect
A vector of const Point pointers.
Definition: Point.h:76
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:60
DimensionType
Definition: Dimension.h:32
Definition: GeometryComponentFilter.h:44