![]() |
HydroCouple
2.0.0
HydroCouple Interface Definitions
|
An IPoint is a 0-dimensional geometric object and represents a single location in coordinate space. More...
#include <hydrocouplespatial.h>
Public Member Functions | |
| virtual | ~IPoint ()=default |
| IPoint destructor. | |
| virtual double | x () const =0 |
| The x-coordinate value for this IPoint. | |
| virtual double | y () const =0 |
| The y-coordinate value for this IPoint. | |
| virtual double | z () const =0 |
| The x-coordinate value for this IPoint. Returns NIL otherwise. | |
| virtual double | m () const =0 |
| The x-coordinate value for this IPoint. Returns NIL otherwise. | |
Public Member Functions inherited from HydroCouple::Spatial::IGeometry | |
| virtual | ~IGeometry ()=default |
| The type of IGeometry. | |
| virtual string | id () const =0 |
| id of the geometry. | |
| virtual unsigned int | 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. In non - homogeneous collections, this will return the largest topological dimension of the contained objects. | |
| virtual int | coordinateDimension () const =0 |
| Get the dimension of the coordinates in this object. | |
| virtual GeometryType | geometryType () const =0 |
| Get the dimension of the coordinates in 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, returned as a IGeometry. Recalculated at the time of the call. | |
| virtual string | getWKT () const =0 |
| Exports this geometric object to a specific Well-known Text Representation of Geometry. | |
| virtual unsigned char * | getWKB (int &size) 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 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 =0 |
| virtual IGeometry * | locateAlong (double value) const =0 |
| virtual 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 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 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 |
An IPoint is a 0-dimensional geometric object and represents a single location in coordinate space.
A IPoint has an x-coordinate value, a y-coordinate value. If called for by the associated Spatial Reference System, it may also have coordinate values for z and m.
The boundary of a Point is the empty set.
|
virtualdefault |
IPoint destructor.
|
pure virtual |
The x-coordinate value for this IPoint. Returns NIL otherwise.
|
pure virtual |
The x-coordinate value for this IPoint.
|
pure virtual |
The y-coordinate value for this IPoint.
|
pure virtual |
The x-coordinate value for this IPoint. Returns NIL otherwise.