DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.StrokeArc_2 | Methods | Properties
Adds vertices approximating an elliptical arc with explicit segment count control.
// 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 );
| 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. |
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.