User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.strokearc_2_itgis_point3d_double_double_double_double_double_integer

Table of Contents

ITGIS_Shape.StrokeArc_2 method

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

Adds vertices approximating an elliptical arc with explicit segment count control.

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

Syntax

// C#
public void StrokeArc_2(
  ITGIS_Point3D _center,
  double _radiusA,
  double _radiusB,
  double _start,
  double _stop,
  double _rotation,
  int _segments
);
' VisualBasic
Public Sub StrokeArc_2(
  ByVal _center As ITGIS_Point3D,
  ByVal _radiusA As Double,
  ByVal _radiusB As Double,
  ByVal _start As Double,
  ByVal _stop As Double,
  ByVal _rotation As Double,
  ByVal _segments As Integer
)
// Oxygene
public
  procedure StrokeArc_2(
    _center : ITGIS_Point3D;
    _radiusA : Double;
    _radiusB : Double;
    _start : Double;
    _stop : Double;
    _rotation : Double;
    _segments : Integer
  );

Parameters

Name Type Description
_center ITGIS_Point3D Arc center point.
_radiusA double
Double
First ellipse radius.
_radiusB double
Double
Second ellipse radius.
_start double
Double
Start angle in radians.
_stop double
Double
Stop angle in radians.
_rotation double
Double
Ellipse rotation angle in radians.
_segments int
Integer
Number of segments used for a full ellipse; the actual arc uses a proportional subset based on the angular span.

Remarks

PURPOSE: Builds curved geometry by approximating an elliptical arc with a caller-controlled number of line segments.

BEHAVIOR: Interpolates arc vertices from the supplied ellipse parameters and appends them to the current shape, using _segments to control approximation density.

CONSTRAINTS: Higher segment counts produce smoother arcs but increase vertex count. Values less than 3 are generally not useful for ellipse approximation.

2026/07/05 01:25

Page Tools