Models a collection of Point objects. More...
#include <geos.h>
Public Member Functions | |
Dimension::DimensionType | getDimension () const |
Returns point dimension (0). | |
int | getBoundaryDimension () const |
Returns Dimension::False (Point has no boundary). | |
Geometry * | getBoundary () const |
Gets the boundary of this geometry. | |
std::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=0) const |
Returns true if the two Geometrys are exactly equal, up to a specified tolerance. | |
Geometry * | clone () const |
Protected Member Functions | |
MultiPoint (std::vector< Geometry * > *newPoints, const GeometryFactory *newFactory) | |
Constructs a MultiPoint . | |
MultiPoint (const MultiPoint &mp) | |
const Coordinate * | getCoordinateN (int n) const |
Friends | |
class | GeometryFactory |
Models a collection of Point objects.
geos::geom::MultiPoint::MultiPoint | ( | std::vector< Geometry * > * | newPoints, | |
const GeometryFactory * | newFactory | |||
) | [protected] |
Constructs a MultiPoint
.
newPoints | the Point s for this MultiPoint , or null or an empty array to create the empty geometry. Elements may be empty Point s, but not null s. |
Constructed object will take ownership of the vector and its elements.
newFactory | The GeometryFactory used to create this geometry Caller must keep the factory alive for the life-time of the constructed MultiPoint. |
Geometry* geos::geom::MultiPoint::clone | ( | ) | const [inline, virtual] |
Creates and returns a full copy of this GeometryCollection object. (including all coordinates contained by it).
Reimplemented from geos::geom::GeometryCollection.
Geometry* geos::geom::MultiPoint::getBoundary | ( | ) | const [virtual] |
Gets the boundary of this geometry.
Zero-dimensional geometries have no boundary by definition, so an empty GeometryCollection is returned.
Reimplemented from geos::geom::GeometryCollection.