User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.combine_2_itgis_shape_tgis_topologycombinetype_wordbool

Table of Contents

ITGIS_Shape.Combine_2 method

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

Performs a boolean geometry operation between this shape and another shape, optionally returning a new object or modifying this shape.

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

Syntax

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

Parameters

Name Type Description
_shape ITGIS_Shape Shape to combine with. Must have valid geometry.
_operation TGIS_TopologyCombineType Operation type from TGIS_TopologyCombineType.
_returnnewobj WordBool If True, returns a newly created result shape. If False, updates this shape and returns the same instance.

Result

Type Description
ITGIS_Shape The operation result as either a new shape or this modified shape, depending on _returnnewobj.

Remarks

PURPOSE: Execute a topology operation with control over result ownership and in-place modification behavior.

BEHAVIOR: Applies the operation specified by _operation. If _returnnewobj is True, a new result shape is created. If False, this shape is replaced by the result and returned.

CONSTRAINTS: When _returnnewobj is False, the original geometry of this shape is overwritten. Ownership of the return value follows the annotation on the declaration.

2026/07/05 01:25

Page Tools