User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.combine_itgis_shape_tgis_topologycombinetype

Table of Contents

ITGIS_Shape.Combine method

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

Performs a boolean geometry operation between this shape and another shape.

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

Syntax

// C#
public ITGIS_Shape Combine(
  ITGIS_Shape _shape,
  TGIS_TopologyCombineType _operation
);
' VisualBasic
Public Function Combine(
  ByVal _shape As ITGIS_Shape,
  ByVal _operation As TGIS_TopologyCombineType
) As ITGIS_Shape
// Oxygene
public
  function Combine(
    _shape : ITGIS_Shape;
    _operation : TGIS_TopologyCombineType
  ) : ITGIS_Shape;

Parameters

Name Type Description
_shape ITGIS_Shape Shape to combine with.
_operation TGIS_TopologyCombineType Operation type from TGIS_TopologyCombineType.

Result

Type Description
ITGIS_Shape Newly created result shape, or nil if the operation produces no result.

Remarks

PURPOSE: Execute a runtime-selected topology operation such as union, intersection, difference, or symmetrical difference on vector geometry.

BEHAVIOR: Applies the operation specified by _operation and returns the computed geometry as a new shape instance. The source shapes are not modified by this overload.

USAGE: Create a result shape from two input geometries.

result = shapeA.Combine(shapeB, operation)       if result         outputLayer.AddShape(result)

CONSTRAINTS: Both shapes must have valid geometry suitable for topology processing.

2026/09/20 23:45

Page Tools