User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.simplify_double

Table of Contents

TGIS_Shape.Simplify(double) method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Simplify | Overloads | Constructors | Fields | Methods | Properties

Line generalization routine.

Available also on: Delphi | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_tolerance double
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.

2020/05/07 01:18

Page Tools