User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.asarc_void

Table of Contents

ITGIS_Shape.AsArc method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.AsArc | Methods | Properties

Convert the shape to a TGIS_ShapeArc representing line geometry.

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

Syntax

// C#
public ITGIS_ShapeArc AsArc();
' VisualBasic
Public Function AsArc() As ITGIS_ShapeArc
// Oxygene
public
  function AsArc : ITGIS_ShapeArc;

Result

Type Description
ITGIS_ShapeArc New TGIS_ShapeArc instance created from the shape vertices.

Remarks

PURPOSE: Produces an arc/line representation for workflows that require linear vector geometry.

BEHAVIOR: Creates and returns a new TGIS_ShapeArc from the current shape vertices. Multipart geometry is preserved as multiple arc parts in the converted shape.

USAGE: Use this method when converting points, polygons, or mixed source geometry into line-based geometry for length calculations or linear processing.

CONSTRAINTS: Polygon area semantics are lost and only the boundary-like linear representation remains.

2026/07/05 01:25

Page Tools