User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.cross_itgis_shape

Table of Contents

ITGIS_Shape.Cross method

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.

Available also on: Delphi | .NET | Java | Python.

Syntax

// 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;

Parameters

Name Type Description
_shape ITGIS_Shape Shape to test relationship against. Must be valid geometry.

Result

Type Description
WordBool True if the shapes intersect through their interiors in a crossing relationship; otherwise False.

Remarks

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.

2026/07/05 01:25

Page Tools