Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / NumberOfSegments Method
Arc radius
Arc span angle (in radians)
The maximum deviation
The maximum angular deflection

In This Topic
    NumberOfSegments Method
    In This Topic
    Computes the number of arc subdivisions according to specified chordal error and maximum angle between tangents.
    Syntax
    'Declaration
     
    Public Shared Function NumberOfSegments( _
       ByVal radius As Double, _
       ByVal deltaInRadians As Double, _
       ByVal deviation As Double, _
       Optional ByVal angle As Double _
    ) As Integer
    public static int NumberOfSegments( 
       double radius,
       double deltaInRadians,
       double deviation,
       double angle
    )

    Parameters

    radius
    Arc radius
    deltaInRadians
    Arc span angle (in radians)
    deviation
    The maximum deviation
    angle
    The maximum angular deflection

    Return Value

    The number of segments.
    See Also