User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.union_2_itgis_shape_wordbool

Table of Contents

ITGIS_Shape.Union_2 method

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

Compute an union with shape provided.

Available also on: Delphi | .NET | Java.

Syntax

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

Parameters

Name Type Description
_shape ITGIS_Shape shape to compute union with
_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. See Combine for similar example.

2020/05/08 23:16

Page Tools