Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
 All Classes Namespaces Files Functions Variables Pages
Functions
lib-server.Tools Namespace Reference

Functions

def get_euler_angles
 Converts a rotation matrix to the Euler angles yaw, pitch and roll. More...
 
def get_yaw
 Extracts the yaw (head) rotation from a rotation matrix. More...
 
def get_rotation_between_vectors
 Returns the rotation matrix of the rotation between two input vectors. More...
 
def euclidean_distance
 Returns the Euclidean distance between two points. More...
 

Function Documentation

def lib-server.Tools.euclidean_distance (   POINT1,
  POINT2 
)

Returns the Euclidean distance between two points.

Parameters
POINT1Starting point.
POINT2End point.
def lib-server.Tools.get_euler_angles (   MATRIX)

Converts a rotation matrix to the Euler angles yaw, pitch and roll.

Parameters
MATRIXThe rotation matrix to be converted.
def lib-server.Tools.get_rotation_between_vectors (   VEC1,
  VEC2 
)

Returns the rotation matrix of the rotation between two input vectors.

Parameters
VEC1First vector.
VEC2Second vector.
def lib-server.Tools.get_yaw (   MATRIX)

Extracts the yaw (head) rotation from a rotation matrix.

Parameters
MATRIXThe rotation matrix to extract the angle from.