User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.simplify_double

Table of Contents

ITGIS_Shape.Simplify method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Simplify | Methods | Properties

Simplifies the shape using the Douglas-Peucker algorithm.

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

Syntax

// C#
public ITGIS_Shape Simplify(
  double _tolerance
);
' VisualBasic
Public Function Simplify(
  ByVal _tolerance As Double
) As ITGIS_Shape
// Oxygene
public
  function Simplify(
    _tolerance : Double
  ) : ITGIS_Shape;

Parameters

Name Type Description
_tolerance double
Double
Simplification tolerance in map units.

Result

Type Description
ITGIS_Shape A newly created simplified shape.

Remarks

PURPOSE: Reduces vertex count in line and polygon geometry for faster rendering, storage reduction, and scale-dependent generalization.

BEHAVIOR: Applies the Douglas-Peucker simplification algorithm to remove vertices while preserving the overall shape within the specified tolerance.

CONSTRAINTS: Tolerance is expressed in map units. The caller owns the returned shape.

2026/07/05 01:25

Page Tools