User Tools

Site Tools


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

Table of Contents

TGIS_Shape.Smooth(int) method

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

Smooth shape routine

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public TGIS_Shape Smooth(
  int _factor
);
// Oxygene
public
  function Smooth(
    _factor : Integer
  ) : TGIS_Shape;

Parameters

Name Type Description
_factor int
Integer
smooth factor, number of points iterations - number of output points = number of input point * _factor

Result

Type Description
TGIS_Shape Newly created shape.

Remarks

Vertex spline smoothing routine based on Catmull-Rom algorithm. Only for arc or polygon shapes. Based on 4 control points.

2020/05/07 01:14

Page Tools