User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.union_tgis_shape_boolean

Table of Contents

TGIS_Shape.Union(TGIS_Shape, bool) method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Union | Overloads | Constructors | Fields | Methods | Properties

Compute an union with shape provided.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public TGIS_Shape Union(
  TGIS_Shape _shape,
  bool _returnnewobj
);
' VisualBasic
Public Function Union(
  ByVal _shape As TGIS_Shape,
  ByVal _returnnewobj As Boolean
) As TGIS_Shape
// Oxygene
public
  function Union(
    _shape : TGIS_Shape;
    _returnnewobj : Boolean
  ) : TGIS_Shape;

Parameters

Name Type Description
_shape TGIS_Shape shape to compute union with
_returnnewobj bool
Boolean
if True, then result will be returned in a newly created object; if False, then self object will be returned

Result

Type Description
TGIS_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/07 01:18

Page Tools