Eyeshot 9.0 WinForms API Reference
GetFocalLengthFromFieldOfView(Double,Size2D) Method

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
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

Reference

Camera Class
Camera Members
Overload List
Frame Property
FocalLength Property
AngleOfView Property