User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.symmetricaldifference_tgis_shape_boolean

Table of Contents

TGIS_Shape.SymmetricalDifference(TGIS_Shape; Boolean) method

DK for Delphi | GisLayerVector.TGIS_Shape.SymmetricalDifference | Overloads | Constructors | Fields | Methods | Properties

Compute a symmetrical difference with shape provided.

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

Syntax

// Delphi
public
  function SymmetricalDifference(
    const _shape : TGIS_Shape;
    const _returnnewobj : Boolean
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* SymmetricalDifference(
    TGIS_Shape* const _shape,
    const bool _returnnewobj
  ) /* overload */;

Parameters

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

2025/01/31 01:09

Page Tools