User Tools

Site Tools


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

Table of Contents

TGIS_Shape.SymmetricalDifference(TGIS_Shape, bool) method

DK for .NET | TatukGIS.NDK.TGIS_Shape.SymmetricalDifference | Overloads | Constructors | Fields | Methods | Properties

Compute a symmetrical difference with shape provided.

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

Syntax

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

Parameters

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

2025/01/31 01:13

Page Tools