Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Camera Class / GetFocalLengthFromFieldOfView Method / GetFocalLengthFromFieldOfView(Double,Size2D) Method
The vertical field of view
THe size of the camera film frame

In This Topic
    GetFocalLengthFromFieldOfView(Double,Size2D) Method
    In This Topic
    Gets the focal length from the vertical field of view and the camera film frame.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetFocalLengthFromFieldOfView( _
       ByVal fovInDegrees As Double, _
       ByVal frame As Size2D _
    ) As Double
    public static double GetFocalLengthFromFieldOfView( 
       double fovInDegrees,
       Size2D frame
    )

    Parameters

    fovInDegrees
    The vertical field of view
    frame
    THe size of the camera film frame

    Return Value

    The corresponding focal length, relative to the frame size.
    See Also