User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shapepolygon.split_boolean

Table of Contents

TGIS_ShapePolygon.Split method

DK for Delphi | GisLayerVector.TGIS_ShapePolygon.Split | Constructors | Fields | Methods | Properties

Splits a multipart polygon shape into parts.

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

Syntax

// Delphi
public
  function Split(
    const _keep_holes : Boolean
  ) : TGIS_ShapeList; overload;
// C++ Builder
public:
  TGIS_ShapeList* Split(
    const bool _keep_holes
  ) /* overload */;

Parameters

Name Type Description
_keep_holes Boolean if True, polygons with holes are not split; if False, all parts are split

Result

Type Description
TGIS_ShapeList Newly created list of parts.

Remarks

If a shape is single part, a main part is returned.

2025/01/31 01:09

Page Tools