Buy Now

Standalone functions

< Previous | Contents | Manuals Home | Boris FX | Next >

โ€ŒStandalone functions

See also the SyLevel.Conform routine.

Prod(a, b) Returns the product of a (SyTrans or list-of-lists) and b (SyTrans, list-of-lists, or vector list) as a list-of-lists.

MapDir(a, b) Returns the product of a (SyTrans or list-of-lists) and b (vector list only), ignoring the translational portion of a. This is useful when b is a direction, instead of a position.

Inv(a) Returns the inverse of a (SyTrans or list-of-lists). The transform a must be orthonormal, with no scaling or skew.

Prnt(a) Prints out matrix a neatly

Iden() Returns an identity matrix as a list-of-lists.

XRot(ang) Creates a list-of-lists transform that corresponds to a rotation around the positive X axis using the right-hand-rule. The angle (ang) is in degrees.

YRot(ang) Create a list-of-lists transform that corresponds to a rotation around the positive Y axis axis using the right-hand-rule. The angle (ang) is in degrees.

ZRot(ang) Create a list-of-lists transform that corresponds to a rotation around the positive Z axis axis using the right-hand-rule. The angle (ang) is in degrees.

Cross(a,b) Returns the cross product of vectors a and b.

Norm(a) Returns a normalized version of vector a

FOV2FLen(fov, pwidth) Returns the focal length for a given angle of view (fov, in

degrees) for a given plate width. The focal length is in the same units as the plate width.

FLen2FOV(flen, pwidth) Returns the angle of view (FOV) corresponding to a given

ยฉ2026 Boris FX, Inc.ย โ€”ย UNOFFICIALย โ€”ย Converted from original PDF.


Subscribe to our newsletter

Get all the latest news, blog posts and product updates from Boris FX, delivered directly to your inbox.

In order to provide you with the content requested, we need to store and process your personal data. For more information on how to unsubscribe and our commitment to protecting your privacy, please review our Privacy Policy.

Welcome!

Thanks for opting-in to our newsletter. You'll receive an email momentarily with your confirmation.

Please select your language

The website is currently localized into the following languages