User Tools

Site Tools


api:dk11:delphi:gistopology.tgis_topology.symmetricaldifference_tgis_shape_tgis_shape_boolean

Table of Contents

TGIS_Topology.SymmetricalDifference(TGIS_Shape; TGIS_Shape; Boolean) method

DK11 for Delphi | GisTopology.TGIS_Topology.SymmetricalDifference | Overloads | Constructors | Methods | Properties | Events

Compute a new shape as a symmetrical difference of two shapes provided.

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

Syntax

// Delphi
public
  function SymmetricalDifference(
    const _shpA : TGIS_Shape;
    const _shpB : TGIS_Shape;
    const _fixshape : Boolean
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* SymmetricalDifference(
    TGIS_Shape* const _shpA,
    TGIS_Shape* const _shpB,
    const bool _fixshape
  ) /* overload */;

Parameters

Name Type Description
_shpA TGIS_Shape first shape
_shpB TGIS_Shape second shape
_fixshape Boolean if True, then checks and eventually fixes the input shapes for common topological problems, like self-crossings, overlapped parts etc.

Result

Type Description
TGIS_Shape returns new shape as symmetrical difference of two shapes

Remarks

See TGIS_Shape.Combine for example.

2023/03/24 01:21

Page Tools