User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_topology.fixshape_tgis_shape

Table of Contents

TGIS_Topology.FixShape(TGIS_Shape) method

DK11 for Java | tatukgis.jdk.TGIS_Topology.FixShape | Overloads | Constructors | Methods | Properties | Events

Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes).

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

Syntax

// Java
public TGIS_Shape FixShape(
  TGIS_Shape _shp
);
// Oxygene
public
  function FixShape(
    _shp : TGIS_Shape
  ) : TGIS_Shape;

Parameters

Name Type Description
_shp TGIS_Shape polygon, or arc to be fixed

Result

Type Description
TGIS_Shape returns the computed shape (self)

Remarks

The result depends on the ForceShapeFixing property. For more control, see FixShapeEx method. To just validate a shape, use CheckShape method.

2023/09/01 01:53

Page Tools