User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shape.union_tgis_shape_boolean

Table of Contents

TGIS_Shape.Union(TGIS_Shape, bool) method

DK11 for Java | tatukgis.jdk.TGIS_Shape.Union | Overloads | Constructors | Fields | Methods | Properties

Compute an union with shape provided.

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

Syntax

// Java
public TGIS_Shape Union(
  TGIS_Shape _shape,
  bool _returnnewobj
);
// 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.

2022/11/16 01:51

Page Tools