vrori2dir

Convert viewpoint orientation to direction

Syntax

vrori2dir(r)
vrori2dir(r,options)

Description

vrori2dir(r) converts the viewpoint orientation, specified by a rotation vector, r, to a direction the viewpoint points to.

vrori2dir(r,options) converts the viewpoint orientation with the default algorithm parameters replaced by values defined in options.

The options structure contains the parameter epsilon that represents the value below which a number will be treated as zero (default value is 1e-12).

Was this topic helpful?