Geotools.Net

Geometry.CheckNotGeometryCollection Method 

Throws an exception if geometry's class is GeometryCollection. (Its subclasses do not trigger an exception).

[Visual Basic]
Overridable Protected Sub CheckNotGeometryCollection( _
   ByVal geometry As Geometry _
)
[C#]
protected virtual void CheckNotGeometryCollection(
   Geometry geometry
);

Parameters

geometry
The Geometry to check.

Remarks

Missing <remarks> documentation for M:Geotools.Geometries.Geometry.CheckNotGeometryCollection(Geotools.Geometries.Geometry)

Exceptions

Exception TypeCondition
ArgumentExceptionThrows an exception if geometry is a GeometryCollection but not one of its subclasses

See Also

Geometry Class | Geometry Members | Geotools.Geometries Namespace