User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.symmetricaldifference_itgis_shape

Table of Contents

ITGIS_Shape.SymmetricalDifference method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.SymmetricalDifference | Methods | Properties

Computes the symmetrical difference between this shape and another shape.

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

Syntax

// C#
public ITGIS_Shape SymmetricalDifference(
  ITGIS_Shape _shape
);
' VisualBasic
Public Function SymmetricalDifference(
  ByVal _shape As ITGIS_Shape
) As ITGIS_Shape
// Oxygene
public
  function SymmetricalDifference(
    _shape : ITGIS_Shape
  ) : ITGIS_Shape;

Parameters

Name Type Description
_shape ITGIS_Shape Shape to compute the symmetrical difference with. Must have valid geometry.

Result

Type Description
ITGIS_Shape Newly created shape containing geometry that belongs to either shape but not to both.

Remarks

PURPOSE: Extract non-common geometry for change detection, XOR-style processing, and comparison of vector features.

BEHAVIOR: Performs the symmetrical difference operation, equivalent to points in this shape or _shape, excluding points shared by both shapes.

CONSTRAINTS: Caller owns the returned shape. Both shapes must have valid geometry suitable for topology processing.

2026/07/05 01:25

Page Tools