Geometry.CoveredBy method

Determines whether this geometry is covered by a specified geometry.

public bool CoveredBy(IGeometry other)
Parameter Type Description
other IGeometry A geometry.

Return Value

true if this geometry is “spatially covered by” another geometry. false otherwise.


exception condition
ArgumentNullException Argument is null.
ArgumentException One of the geometries is invalid in such way that operation can not be finished.
ArgumentException SpatialReferenceSystem of geometries are not equivalent. You can use SpatialReferenceSystemTransformation in order to convert geometries to the same spatial reference system.


This method tests whether one geometry is covered by another in terms of DE-9IM intersection matrix. This method is equivalent to:


See Also