An IGeometryCollection is a geometric object that is a collection of some number of IGeometry objects. More...
#include <hydrocouplespatial.h>
Public Member Functions | |
| virtual | ~IGeometryCollection ()=default |
| IGeometryCollection destructor. | |
| virtual int64_t | geometryCount () const =0 |
| The number of geometries in this IGeometryCollection. | |
| virtual IGeometry * | geometry (int64_t index) const =0 |
| The IGeometry object associated with a specified index. | |
Public Member Functions inherited from HydroCouple::Spatial::IGeometry | |
| virtual | ~IGeometry ()=default |
| IGeometry destructor. | |
| virtual const std::string & | id () const =0 |
| id of the geometry. | |
| virtual int64_t | index () const =0 |
| index of the geometry if it is part of a collection. | |
| virtual int | dimension () const =0 |
| The inherent dimension of this geometric object, which must be less than or equal to the coordinate dimension. | |
| virtual int | coordinateDimension () const =0 |
| Get the dimension of the coordinates in this object. | |
| virtual GeometryType | geometryType () const =0 |
| Gets the geometry type of this object. | |
| virtual ISpatialReferenceSystem * | spatialReferenceSystem () const =0 |
| Spatial reference system of geometric object. | |
| virtual IEnvelope * | envelope () const =0 |
| The minimum bounding box for this Geometry. | |
| virtual std::string | getWKT () const =0 |
| Exports this geometric object to a specific Well-known Text Representation of Geometry. | |
| virtual std::vector< unsigned char > | getWKB () const =0 |
| Exports this geometric object to a specific Well-known byte Representation of Geometry. | |
| virtual bool | isEmpty () const =0 |
| If true, then this geometric object represents the empty point set ∅ for the coordinate space. | |
| virtual bool | isSimple () const =0 |
Returns true if this geometric object has no anomalous geometric points, such as self intersection or self tangency. | |
| virtual bool | is3D () const =0 |
| virtual bool | isMeasured () const =0 |
| virtual std::unique_ptr< IGeometry > | boundary () const =0 |
| Returns the closure of the combinatorial boundary of this geometric object (Reference [1], section 3.12.2). | |
| virtual bool | equals (const IGeometry &geom) const =0 |
| virtual bool | disjoint (const IGeometry &geom) const =0 |
| virtual bool | intersects (const IGeometry &geom) const =0 |
| virtual bool | touches (const IGeometry &geom) const =0 |
| virtual bool | crosses (const IGeometry &geom) const =0 |
| virtual bool | within (const IGeometry &geom) const =0 |
| virtual bool | contains (const IGeometry &geom) const =0 |
| virtual bool | overlaps (const IGeometry &geom) const =0 |
| virtual bool | relate (const IGeometry &geom, const std::string &intersectionPatternMatrix) const =0 |
| Tests the DE-9IM relationship between this geometry and geom. | |
| virtual std::unique_ptr< IGeometry > | locateAlong (double value) const =0 |
| virtual std::unique_ptr< IGeometry > | locateBetween (double mStart, double mEnd) const =0 |
| virtual double | distance (const IGeometry &geom) const =0 |
| Returns the shortest distance between any two Points in the two geometric objects as calculated in the spatial reference system of this geometric object. | |
| virtual std::unique_ptr< IGeometry > | buffer (double bufferDistance) const =0 |
| Returns a geometric object that represents all Points whose distance from this geometric object is less than or equal to distance. | |
| virtual std::unique_ptr< IGeometry > | convexHull () const =0 |
| virtual std::unique_ptr< IGeometry > | intersection (const IGeometry &geom) const =0 |
| virtual std::unique_ptr< IGeometry > | unionG (const IGeometry &geom) const =0 |
| virtual std::unique_ptr< IGeometry > | difference (const IGeometry &geom) const =0 |
| virtual std::unique_ptr< IGeometry > | symmetricDifference (const IGeometry &geom) const =0 |
An IGeometryCollection is a geometric object that is a collection of some number of IGeometry objects.
All the elements in a IGeometryCollection shall be in the same Spatial Reference System. This is also the ISpatialReferenceSystem for the GeometryCollection.
GeometryCollection places no other constraints on its elements. Subclasses of GeometryCollection may restrict membership based on dimension and may also place other constraints on the degree of spatial overlap between elements.
|
virtualdefault |
IGeometryCollection destructor.
|
nodiscardpure virtual |
The IGeometry object associated with a specified index.
| index | of the geometry in this IGeometryCollection. |
|
nodiscardpure virtual |
The number of geometries in this IGeometryCollection.