DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Cross | Methods | Properties
Tests whether two shapes cross using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation.
// C# public WordBool Cross( ITGIS_Shape _shape );
' VisualBasic Public Function Cross( ByVal _shape As ITGIS_Shape ) As WordBool
// Oxygene public function Cross( _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 intersect through their interiors in a crossing relationship; otherwise False. |
PURPOSE: Detect crossing geometries such as roads, network lines, or lines intersecting polygon interiors. Useful in network analysis and topology validation.
BEHAVIOR: Returns True when the geometries intersect in a way classified by DE-9IM as Cross. This typically applies to specific geometry type combinations such as line-line or line-polygon relationships.
CONSTRAINTS: Boundary-only contact does not count as Cross. Containment does not count as Cross. Availability of this relation depends on the geometry type combination.