User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_shape.union_tgis_shape_boolean

Table of Contents

TGIS_Shape.Union(TGIS_Shape, bool) method

DK11 for Python | tatukgis.pdk.TGIS_Shape.Union | Overloads | Constructors | Methods | Properties

Compute an union with shape provided.

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

Syntax

# Python
def Union(
  self,
  _shape: TGIS_Shape,
  _returnnewobj: bool
) -> TGIS_Shape: 

Parameters

Name Type Description
_shape TGIS_Shape shape to compute union with
_returnnewobj bool 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.

2023/08/09 01:59

Page Tools