User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_shape.simplify_double_boolean

Table of Contents

TGIS_Shape.Simplify(float, bool) method

DK11 for Python | tatukgis.pdk.TGIS_Shape.Simplify | Overloads | Constructors | Methods | Properties

Line generalization routine.

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

Syntax

# Python
def Simplify(
  self,
  _tolerance: float,
  _returnnewobj: bool
) -> TGIS_Shape: 

Parameters

Name Type Description
_tolerance float simplification tolerance
_returnnewobj bool 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

Vertex elimination routine based on Douglas-Peucker algorithm. Only for arc or polygon shapes.

2023/08/09 01:59

Page Tools