User Tools

Site Tools


api:dk11:delphi:gistopology.tgis_topology.findanddeleteloops_tgis_shape_boolean

Table of Contents

TGIS_Topology.FindAndDeleteLoops(TGIS_Shape; Boolean) method

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

Delete any loop which is smaller than the tolerance.

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

Syntax

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

Parameters

Name Type Description
_shp TGIS_Shape shape to be cleared
_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 returns shape without loops which are smaller than tolerance

Remarks

Valid only for Arc and Polygon.
See TGIS_Shape.Combine for example.

2022/11/30 19:19

Page Tools