Vizard 8 » Command Index » Vizard modules » vizmat » <vizmat>.getDiagonalFOV
8.1

<vizmat>.getDiagonalFOV

Get the diagonal FOV given 2 known arguments

<vizmat>.getDiagonalFOV(  
vertical = None  
horizontal = None  
aspectRatio = None  
)  
vertical = None
Vertical FOV in degrees
horizontal = None
Horizontal FOV in degrees
aspectRatio = None
Horizontal to vertical aspect ratio

Remarks

Returns the diagonal FOV given any 2 of the available arguments.

Return Value

Diagonal FOV in degrees

Example

print(vizmat.getDiagonalFOV(vertical=40, aspectRatio=1.6))

See also

<vizmat>.getAspectRatio
<vizmat>.getHorizontalFOV
<vizmat>.getVerticalFOV