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

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

Compute a new shape from self and shape provided, based on a given operation.

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
_operation TGIS_TopologyCombineType operation code; what kind of operation should be perform between (current shape) and (_shape)
_returnnewobj WordBool if True, then result will be returned in a newly created object; if False, then self object will be returned

Result

Type Description
ITGIS_Shape If _returnnewobj=True, then returns newly created shape. Otherwise returns modified or unmodified self object.

Remarks

Internally it uses Combine method of TGIS_Topology class.

2022/11/16 01:11

Page Tools