User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shape.simplify_double_boolean

Table of Contents

TGIS_Shape.Simplify(double, bool) method

DK11 for Java | tatukgis.jdk.TGIS_Shape.Simplify | Overloads | Constructors | Fields | Methods | Properties

Line generalization routine.

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

Syntax

// Java
public TGIS_Shape Simplify(
  double _tolerance,
  bool _returnnewobj
);
// Oxygene
public
  function Simplify(
    _tolerance : Double;
    _returnnewobj : Boolean
  ) : TGIS_Shape;

Parameters

Name Type Description
_tolerance double
Double
simplification tolerance
_returnnewobj bool
Boolean
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.

2022/11/16 01:51

Page Tools