User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.difference_tgis_shape

Table of Contents

TGIS_Shape.Difference(TGIS_Shape) method

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

Compute a difference with shape provided.

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

Syntax

// Delphi
public
  function Difference(
    const _shape : TGIS_Shape
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* Difference(
    TGIS_Shape* const _shape
  ) /* overload */;

Parameters

Name Type Description
_shape TGIS_Shape shape to compute difference with

Result

Type Description
TGIS_Shape Newly created shape.

Remarks

Internally it uses Combine method of TGIS_Topology class. See Combine for similar example.

2025/01/31 01:09

Page Tools