FDO API Reference Feature Data Objects

SpatialUtility Class Reference

List of all members.

Static Public Member Functions

static NAMESPACE_OSGEO_GEOMETRY::IGeometryApproximateGeometryWithLineStrings (NAMESPACE_OSGEO_GEOMETRY::IGeometry *geometry, System::Double maxSpacing, System::Double maxOffset, NAMESPACE_OSGEO_GEOMETRY::GeometryFactoryAbstract *geometryFactory)
 Approximates a geometry, which may contain parametric curve components, with a geometry that only contains straight, linear components.
static System::Double ComputeLinearRingArea (NAMESPACE_OSGEO_GEOMETRY::ILinearRing *ring)
 Computes the area of a ring.
static System::Double ComputeLinearRingLength (NAMESPACE_OSGEO_GEOMETRY::ILinearRing *ring)
 Computes the length (perimeter) of a ring.
static NAMESPACE_OSGEO_GEOMETRY::IGeometryCreateGeometryFromRings (NAMESPACE_OSGEO_GEOMETRY::LinearRingCollection *rings, System::Boolean relateRings)
 Creates a Polygon or a MultiPolygon from a collection of rings.
static System::Boolean Evaluate (NAMESPACE_OSGEO_GEOMETRY::IGeometry *g1, NAMESPACE_OSGEO_FDO_FILTER::SpatialOperations op, NAMESPACE_OSGEO_GEOMETRY::IGeometry *g2)
static System::Void GetExtents (System::Byte bytes[], System::Double *minX, System::Double *minY, System::Double *minZ, System::Double *maxX, System::Double *maxY, System::Double *maxZ)
static System::Void GetExtents (System::Byte bytes[], System::Double *minX, System::Double *minY, System::Double *maxX, System::Double *maxY)
static System::Boolean IsCircularArcValid (NAMESPACE_OSGEO_GEOMETRY::ICircularArcSegment *arc, System::Double tolerance)
 Checks the geometric validity of a circular arc. E.g. Checks whether the points describing the arc are collinear within a tolerance.
static System::Boolean PointInPolygon (NAMESPACE_OSGEO_GEOMETRY::IPolygon *polygon, System::Double coordinateX, System::Double coordinateY)
static System::Boolean PointInPolygon (NAMESPACE_OSGEO_GEOMETRY::IPolygon *polygon, System::Double coordinateX, System::Double coordinateY, System::Boolean *isOnExtBoundary)
static System::Boolean PointInPolygon (NAMESPACE_OSGEO_GEOMETRY::IPolygon *polygon, System::Double coordinateX, System::Double coordinateY, System::Boolean *isOnExtBoundary, System::Boolean *isOnInBoundary)
 Tests whether a point is within a polygon (including its islands) or not.
static System::Boolean PointInRing (NAMESPACE_OSGEO_GEOMETRY::ILinearRing *ring, System::Double coordinateX, System::Double coordinateY)
static System::Boolean PointInRing (NAMESPACE_OSGEO_GEOMETRY::ILinearRing *ring, System::Double coordinateX, System::Double coordinateY, System::Boolean *isOnBoundary)
 Tests whether a point is within a ring or not.
static NAMESPACE_OSGEO_GEOMETRY::IGeometryTesselateCurve (NAMESPACE_OSGEO_GEOMETRY::IGeometry *curve)
static NAMESPACE_OSGEO_SPATIAL::SpatialGeometryValidity ValidateGeometryByType (NAMESPACE_OSGEO_GEOMETRY::IGeometry *geometry, NAMESPACE_OSGEO_COMMON::GeometryType geometryTypes[], NAMESPACE_OSGEO_COMMON::GeometryComponentType geometryComponentTypes[], System::Int32 dimensionality)
 Tests whether a geometry can be supported using the given types and dimensionality.

Comments or suggestions? Send us feedback.