AddArc



Your Ad Here

Adds an arc curve to the document.

Syntax

Rhino.AddArc (arrPlane, dblRadius, dblAngle)

Parameters

arrPlane

Required.  Array.  The plane on which the arc will lie. The origin of the plane will be the center point of the arc. The X-axis of the plane will define the 0 angle direction.

dblRadius

Required.  Number.  The radius arc.

dblAngle

Required.  Number.  A angle or interval, in degrees, of the arc.

Returns

String

The identifier of the new object if successful.

Null

If not successful, or on error.

Example

Dim arrPlane, arrRotated

arrPlane = Rhino.WorldXYPlane

arrRotated = Rhino.RotatePlane(arrPlane, 45.0, arrPlane(3))

Rhino.AddArc arrRotated, 5.0, 45.0

Also See

AddArc3Pt

ArcAngle

ArcCenterPoint

ArcMidPoint

ArcRadius

IsArc

Return to Rhino Index


Your Ad Here