|
static NAMESPACE_OSGEO_GEOMETRY::IGeometry* SpatialUtility::CreateGeometryFromRings |
( |
NAMESPACE_OSGEO_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: |
|