User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shapepolygon.split_boolean

Table of Contents

TGIS_ShapePolygon.Split method

DK11 for .NET | TatukGIS.NDK.TGIS_ShapePolygon.Split | Constructors | Fields | Methods | Properties

Splits a multipart polygon shape into parts.

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

Syntax

// C#
public TGIS_ShapeList Split(
  bool _keep_holes
);
' VisualBasic
Public Function Split(
  ByVal _keep_holes As Boolean
) As TGIS_ShapeList
// Oxygene
public
  function Split(
    _keep_holes : Boolean
  ) : TGIS_ShapeList;

Parameters

Name Type Description
_keep_holes bool
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.

2022/11/16 01:36

Page Tools