Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::Point Class Reference

Basic implementation of Point. More...

#include <geos.h>

Inheritance diagram for geos::Point:

geos::Geometry List of all members.

Public Member Functions

 Point (CoordinateSequence *newCoords, const GeometryFactory *newFactory)
 Creates a Point taking ownership of the given CoordinateSequence (must have 1 element).
Geometryclone () const
 Make a deep-copy of this Geometry.
CoordinateSequencegetCoordinates (void) const
 Returns this Geometry vertices. Caller takes ownership of the returned object.
int getNumPoints () const
 Returns the count of this Geometrys vertices.
bool isEmpty () const
 Returns whether or not the set of points in this Geometry is empty.
bool isSimple () const
 Returns false if the Geometry not simple.
int getDimension () const
 Returns point dimension (0).
int getBoundaryDimension () const
 Returns Dimension::False (Point has no boundary).
GeometrygetBoundary () const
 Returns an EMPTY Geometry.
const CoordinategetCoordinate () const
 Returns a vertex of this Geometry.
string getGeometryType () const
 Return a string representation of this Geometry type.
virtual GeometryTypeId getGeometryTypeId () const
 Return an integer representation of this Geometry type.
bool equalsExact (const Geometry *other, double tolerance) const
 Returns true if the two Geometrys are exactly equal, up to a specified tolerance.
void normalize (void)
 Converts this Geometry to normal form (or canonical form).

Detailed Description

Basic implementation of Point.


Constructor & Destructor Documentation

geos::Point::Point CoordinateSequence newCoords,
const GeometryFactory newFactory
 

Creates a Point taking ownership of the given CoordinateSequence (must have 1 element).

Parameters:
newCoords contains the single coordinate on which to base this Point or null to create the empty geometry.
newFactory the GeometryFactory used to create this geometry


The documentation for this class was generated from the following files:
Generated on Sun Aug 5 23:06:01 2007 for GEOS by  doxygen 1.3.9.1