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;
91 size_t getNumPoints()
const;
93 bool isSimple()
const;
99 virtual int getCoordinateDimension()
const;
102 int getBoundaryDimension()
const;
117 std::string getGeometryType()
const;
128 bool equalsExact(
const Geometry *other,
double tolerance=0)
const;
154 Point(CoordinateSequence *newCoords,
const GeometryFactory *newFactory);
156 Point(
const Point &p);
158 Envelope::AutoPtr computeEnvelopeInternal()
const;
160 int compareToSameClass(
const Geometry *p)
const;
167 std::auto_ptr<CoordinateSequence> coordinates;
181 #endif // ndef GEOS_GEOS_POINT_H Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:48
void normalize(void)
Converts this Geometry to normal form (or canonical form).
Definition: Point.h:130
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Definition: CoordinateSequenceFilter.h:58
GeometryTypeId
Geometry types.
Definition: Geometry.h:65
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
Definition: CoordinateFilter.h:43
std::vector< const Point * > ConstVect
A vector of const Point pointers.
Definition: Point.h:75
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Geometry * clone() const
Definition: Point.h:85
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
DimensionType
Definition: Dimension.h:31
Definition: GeometryComponentFilter.h:43