Products & Services Solutions Academia Support User Community Company

Learn more about Simulink 3D Animation   

vrdir2ori - Convert viewpoint direction to orientation

Syntax

vrdir2ori(d)
vrdir2ori(d,options)

Description

vrdir2ori(d) converts the viewpoint direction, specified by a vector of three elements, to an appropriate orientation (VRML rotation vector).

vrdir2ori(d,options) converts the viewpoint direction 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).

See Also

vrori2dir, vrrotmat2vec, vrrotvec, and vrrotvec2mat

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS