User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.getintersection_tgis_extent_boolean

Table of Contents

TGIS_Shape.GetIntersection(TGIS_Extent; Boolean) method

DK11 for Delphi | GisLayerVector.TGIS_Shape.GetIntersection | Overloads | Constructors | Fields | Methods | Properties

Cut the shape in a defined extent.

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

Syntax

// Delphi
public
  function GetIntersection(
    const _extent : TGIS_Extent;
    const _draft : Boolean
  ) : TGIS_Shape; overload; virtual;
// C++ Builder
public:
  virtual TGIS_Shape* GetIntersection(
    TGIS_Extent* const _extent,
    const bool _draft
  ) /* overload */;

Parameters

Name Type Description
_extent TGIS_Extent extent to be cut with
_draft Boolean if true, then operation will be perform much faster; resulting shape may be topologically improper; used mainly for internal drawing purposes

Result

Type Description
TGIS_Shape Normalized shape (a new copy).
2024/12/20 22:19

Page Tools