HydroCouple
2.0.0
HydroCouple Interface Definitions
|
IGeometry is the root class of the geometry hierarchy. More...
#include <hydrocouplespatial.h>
Public Member Functions | |
virtual | ~IGeometry ()=0 |
The type of IGeometry. More... | |
virtual string | id () const =0 |
id of the geometry. More... | |
virtual unsigned int | index () const =0 |
index of the geometry if it is part of a collection. More... | |
virtual int | dimension () const =0 |
The inherent dimension of this geometric object, which must be less than or equal to the coordinate dimension. In non - homogeneous collections, this will return the largest topological dimension of the contained objects. More... | |
virtual int | coordinateDimension () const =0 |
Get the dimension of the coordinates in this object. More... | |
virtual GeometryType | geometryType () const =0 |
Get the dimension of the coordinates in this object. More... | |
virtual ISpatialReferenceSystem * | spatialReferenceSystem () const =0 |
Spatial reference system of geometric object. More... | |
virtual IEnvelope * | envelope () const =0 |
The minimum bounding box for this Geometry, returned as a IGeometry. Recalculated at the time of the call. More... | |
virtual string | getWKT () const =0 |
Exports this geometric object to a specific Well-known Text Representation of Geometry. More... | |
virtual unsigned char * | getWKB (int &size) const =0 |
Exports this geometric object to a specific Well-known byte Representation of Geometry. More... | |
virtual bool | isEmpty () const =0 |
If true, then this geometric object represents the empty point set ∅ for the coordinate space. More... | |
virtual bool | isSimple () const =0 |
Returns true if this geometric object has no anomalous geometric points, such as self intersection or self tangency. More... | |
virtual bool | is3D () const =0 |
virtual bool | isMeasured () const =0 |
virtual IGeometry * | boundary () const =0 |
Returns the closure of the combinatorial boundary of this geometric object (Reference [1], section 3.12.2). More... | |
Query | |
Query functions | |
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 =0 |
virtual IGeometry * | locateAlong (double value) const =0 |
virtual IGeometry * | locateBetween (double mStart, double mEnd) const =0 |
Spatial Analysis | |
Spatial analysis functions | |
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. More... | |
virtual 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. More... | |
virtual IGeometry * | convexHull () const =0 |
virtual IGeometry * | intersection (const IGeometry &geom) const =0 |
virtual IGeometry * | unionG (const IGeometry &geom) const =0 |
virtual IGeometry * | difference (const IGeometry &geom) const =0 |
virtual IGeometry * | symmetricDifference (const IGeometry &geom) const =0 |
IGeometry is the root class of the geometry hierarchy.
The type of IGeometry.
|
pure virtual |
The type of IGeometry.
|
pure virtual |
Returns the closure of the combinatorial boundary of this geometric object (Reference [1], section 3.12.2).
Because the result of this function is a closure, and hence topologically closed, the resulting boundary can be represented using representational Geometry primitives (Reference [1], section 3.12.2). The return type is integer, but is interpreted as Boolean, TRUE=1, FALSE=0.
|
pure virtual |
Returns a geometric object that represents all Points whose distance from this geometric object is less than or equal to distance.
Calculations are in the spatial reference system of this geometric object. Because of the limitations of linear interpolation, there will often be some relatively small error in this distance, but it should be near the resolution of the coordinates used.
|
pure virtual |
true
if this geometric object is spatially contains to geom.
|
pure virtual |
Convex hulls, being dependent on straight lines, can be accurately represented in linear interpolations for any geometry restricted to linear interpolations.
|
pure virtual |
Get the dimension of the coordinates in this object.
|
pure virtual |
true
if this geometric object is spatially crosses to geom.
|
pure virtual |
|
pure virtual |
The inherent dimension of this geometric object, which must be less than or equal to the coordinate dimension. In non - homogeneous collections, this will return the largest topological dimension of the contained objects.
|
pure virtual |
true
if this geometric object is spatially disjoint to geom.
|
pure virtual |
Returns the shortest distance between any two Points in the two geometric objects as calculated in the spatial reference system of this geometric object.
Because the geometries are closed, it is possible to find a point on each geometric object involved, such that the distance between these 2 points is the returned distance between their geometric objects.
|
pure virtual |
The minimum bounding box for this Geometry, returned as a IGeometry. Recalculated at the time of the call.
|
pure virtual |
true
if this geometric object is spatially equal to geom.
|
pure virtual |
Get the dimension of the coordinates in this object.
Returns an enum representing the instantiable subtype of Geometry of which this geometric object is an instantiable member.The name of the subtype of Geometry is returned as a string.
|
pure virtual |
Exports this geometric object to a specific Well-known byte Representation of Geometry.
|
pure virtual |
Exports this geometric object to a specific Well-known Text Representation of Geometry.
|
pure virtual |
id of the geometry.
|
pure virtual |
index of the geometry if it is part of a collection.
|
pure virtual |
|
pure virtual |
true
if this geometric object is spatially intersects to geom.
|
pure virtual |
true
if this geometric object has z coordinate values.
|
pure virtual |
If true, then this geometric object represents the empty point set ∅ for the coordinate space.
true
if this geometric object is the empty Geometry.
|
pure virtual |
true
if this geometric object has m coordinate values.
|
pure virtual |
Returns true
if this geometric object has no anomalous geometric points, such as self intersection or self tangency.
The description of each instantiable geometric class will include the specific conditions that cause an instance of that class to be classified as not simple.
|
pure virtual |
|
pure virtual |
|
pure virtual |
true
if this geometric object is spatially overlaps to geom.
|
pure virtual |
This returns false
if all the tested intersections are empty except exterior (this) intersect exterior (another).
true
if this geometric object is spatially related to geom by testing for intersections between the interior, boundary and exterior of the two geometric objects as specified by the values in the intersectionPatternMatrix.
|
pure virtual |
Spatial reference system of geometric object.
|
pure virtual |
|
pure virtual |
true
if this geometric object is spatially touches to geom.
|
pure virtual |
|
pure virtual |
true
if this geometric object is spatially within to geom.