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)
72 friend class GeometryFactory;
158 Envelope::AutoPtr computeEnvelopeInternal()
const;
160 int compareToSameClass(
const Geometry *p)
const;
167 std::auto_ptr<CoordinateSequence> coordinates;
The default implementation of CoordinateSequence.
Definition CoordinateArraySequence.h:37
Definition CoordinateFilter.h:43
Definition CoordinateSequenceFilter.h:58
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
DimensionType
Definition Dimension.h:31
Definition GeometryComponentFilter.h:43
Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition GeometryFilter.h:48
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Geometry(const Geometry &geom)
Polygon overrides to check for actual rectangle.
const Coordinate * getCoordinate() const
Returns a vertex of this Geometry, or NULL if this is the empty geometry.
bool isEmpty() const
Returns whether or not the set of points in this Geometry is empty.
Point(CoordinateSequence *newCoords, const GeometryFactory *newFactory)
Creates a Point taking ownership of the given CoordinateSequence (must have 1 element).
virtual GeometryTypeId getGeometryTypeId() const
Return an integer representation of this Geometry type.
std::string getGeometryType() const
Return a string representation of this Geometry type.
void apply_rw(CoordinateSequenceFilter &filter)
std::vector< const Point * > ConstVect
A vector of const Point pointers.
Definition Point.h:75
int getBoundaryDimension() const
Returns Dimension::False (Point has no boundary).
virtual int getCoordinateDimension() const
Returns coordinate dimension.
bool equalsExact(const Geometry *other, double tolerance=0) const
Returns true if the two Geometrys are exactly equal, up to a specified tolerance.
Geometry * getBoundary() const
Dimension::DimensionType getDimension() const
Returns point dimension (0).
size_t getNumPoints() const
Returns the count of this Geometrys vertices.
void apply_ro(CoordinateSequenceFilter &filter) const
bool isSimple() const
Returns false if the Geometry not simple.
CoordinateSequence * getCoordinates(void) const
Returns this Geometry vertices. Caller takes ownership of the returned object.
Geometry * clone() const
Definition Point.h:85
void normalize(void)
Converts this Geometry to normal form (or canonical form).
Definition Point.h:130
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
GeometryTypeId
Geometry types.
Definition Geometry.h:65
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25