User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.overlap_itgis_shape

Table of Contents

ITGIS_Shape.Overlap method

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.

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

Syntax

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

Parameters

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

Result

Type Description
WordBool True if the shapes overlap according to the topology relation; otherwise False.

Remarks

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.

2026/07/05 01:25

Page Tools