User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.simplify_2_double_wordbool

Table of Contents

ITGIS_Shape.Simplify_2 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Simplify_2 | Methods | Properties

Line generalization routine.

Available also on: Delphi | .NET | Java.

Syntax

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

Parameters

Name Type Description
_tolerance double
Double
simplification tolerance
_returnnewobj WordBool if True, then result will be returned in a newly created object; if False, then self object will be returned

Result

Type Description
ITGIS_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.

2020/05/07 01:04

Page Tools