User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.intersection_tgis_shape_boolean

Table of Contents

TGIS_Shape.Intersection(TGIS_Shape; Boolean) method

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

Compute an intersection with shape provided.

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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

2020/05/07 01:09

Page Tools