DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Overlap | Methods | Properties
Tests whether two shapes overlap using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation.
// C# public WordBool Overlap( ITGIS_Shape _shape );
' VisualBasic Public Function Overlap( ByVal _shape As ITGIS_Shape ) As WordBool
// Oxygene public function Overlap( _shape : ITGIS_Shape ) : WordBool;
| Name | Type | Description |
|---|---|---|
| _shape | ITGIS_Shape | Shape to test relationship against. Must be valid geometry. |
| Type | Description |
|---|---|
| WordBool | True if the shapes overlap according to the topology relation; otherwise False. |
PURPOSE: Detect partial overlap between geometries such as intersecting polygons or lines that share part of their interior without one containing the other.
BEHAVIOR: Uses the DE-9IM overlap relation, which is more specific than Intersect. Touch-only and containment relations do not satisfy Overlap.
CONSTRAINTS: Applicable overlap behavior depends on the geometry dimensions and types being compared. Both shapes must have valid geometry.