FDO .NET API Reference Feature Data Objects
static OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Spatial::SpatialUtility::CreateGeometryFromRings ( OSGeo::FDO::Geometry::LinearRingCollection rings,
System::Boolean  relateRings 
) [static]

Creates a Polygon or a MultiPolygon from a collection of rings.

Remarks:
/
Parameters:
rings Input Collection of rings
relateRings Input Flag indicating if polygon formation is desired. If not desired (FALSE) a MultiPolygon containing only external polygons will be returned. When TRUE, the rings will be associated with each other, resulting in a polygon(s) with exterior/interior rings.
Returns:
Returns The geometry containing the input rings.
Given a collection of rings the method may return, depending on flag relateRings:


Comments or suggestions? Send us feedback.