User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.simplify_double

Table of Contents

TGIS_Shape.Simplify(Double) method

DK for Delphi | GisLayerVector.TGIS_Shape.Simplify | Overloads | Constructors | Fields | Methods | Properties

Line generalization routine.

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

Syntax

// Delphi
public
  function Simplify(
    const _tolerance : Double
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* Simplify(
    const double _tolerance
  ) /* overload */;

Parameters

Name Type Description
_tolerance Double simplification tolerance

Result

Type Description
TGIS_Shape Newly created shape.

Remarks

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

2025/01/31 01:09

Page Tools