HydroCouple
1.0.0
Description of the HydroCouple ComponentBased Model Coupling Interface Definitions

A IPolygon is a planar ISurface defined by 1 exterior boundary and 0 or more interior boundaries. More...
#include <hydrocouplespatial.h>
Public Member Functions  
virtual  ~IPolygon () 
virtual ILineString *  exteriorRing () const =0 
virtual int  interiorRingCount () const =0 
virtual ILineString *  interiorRing (int index) const =0 
virtual IEdge *  edge () const =0 
An arbitrary adjacent edge for this IPolygon. More...  
virtual IPolyhedralSurface *  polyhydralSurface () const =0 
polyhydralSurface More...  
Public Member Functions inherited from HydroCouple::Spatial::ISurface  
virtual  ~ISurface () 
virtual double  area () const =0 
The area of this ISurface, as measured in the spatial reference system of this ISurface. More...  
virtual IPoint *  centroid () const =0 
The mathematical centroid for this ISurface as a Point. The result is not guaranteed to be on this ISurface. More...  
virtual IPoint *  pointOnSurface () const =0 
A Point guaranteed to be on this Surface. More...  
virtual IMultiCurve *  boundaryMultiCurve () const =0 
boundaryMultiCurve More...  
Public Member Functions inherited from HydroCouple::Spatial::IGeometry  
virtual  ~IGeometry () 
virtual QString  id () const =0 
id 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 goemetric 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 QString  getWKT () const =0 
Exports this geometric object to a specific Wellknown Text Representation of Geometry. More...  
virtual unsigned char *  getWKB (int &size) const =0 
Exports this geometric object to a specific Wellknown 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...  
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. 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 
A IPolygon is a planar ISurface defined by 1 exterior boundary and 0 or more interior boundaries.
Each interior boundary defines a hole in the IPolygon.
The exterior boundary LinearRing defines the “top” of the surface which is the side of the surface from which the exterior boundary appears to traverse the boundary in a counter clockwise direction. The interior LinearRings will have the opposite orientation, and appear as clockwise when viewed from the “top”,
The assertions for Polygons (the rules that define valid Polygons) are as follows: a) Polygons are topologically closed; b) The boundary of a Polygon consists of a set of ILinearRings that make up its exterior and interior boundaries; c) No two Rings in the boundary cross and the Rings in the boundary of a IPolygon may intersect at a Point but only as a tangent, e.g.
∀ P ∈ Polygon, ∀ c1,c2∈P.Boundary(), c1≠c2, ∀ p, q ∈Point, p, q ∈ c1, p ≠ q , [p ∈ c2] ⇒ [∃ δ > 0 ∋ [pq<δ] ⇒ [q ∉ c2] ];
d) A Polygon may not have cut lines, spikes or punctures e.g.: ∀ P ∈ Polygon, P = P.Interior.Closure; e) The interior of every Polygon is a connected point set; f) The exterior of a Polygon with 1 or more holes is not connected. Each hole defines a connected component of the exterior. In the above assertions, interior, closure and exterior have the standard topological definitions. The combination of (a) and (c) makes a Polygon a regular closed IPoint set. IPolygons are simple geometric objects.

inlinevirtual 

pure virtual 
An arbitrary adjacent edge for this IPolygon.

pure virtual 

pure virtual 

pure virtual 

pure virtual 
polyhydralSurface