User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_topology.fixshapeex_itgis_shape_wordbool_wordbool

Table of Contents

ITGIS_Topology.FixShapeEx method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Topology.FixShapeEx | Methods | Properties

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 | Java | Python.

Syntax

// C#
public ITGIS_Shape FixShapeEx(
  ITGIS_Shape _shp,
  WordBool _returnnewobj,
  ref WordBool _wasfixed
);
' VisualBasic
Public Function FixShapeEx(
  ByVal _shp As ITGIS_Shape,
  ByVal _returnnewobj As WordBool,
  ByRef _wasfixed As WordBool
) As ITGIS_Shape
// Oxygene
public
  function FixShapeEx(
    _shp : ITGIS_Shape;
    _returnnewobj : WordBool;
    var _wasfixed : WordBool
  ) : ITGIS_Shape;

Parameters

Name Type Description
_shp ITGIS_Shape polygon, or arc to be fixed
_returnnewobj WordBool if True, the result is a newly created shape; if False, the self object is returned
_wasfixed WordBool indicates whether the shape was modified to fix errors

Result

Type Description
ITGIS_Shape returns the computed shape

Remarks

The result depends on the ForceShapeFixing property. See also FixShape method. To just validate a shape, use CheckShape method.

2024/06/21 22:06

Page Tools