Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Scad_ml.RotMatrixSourceA rotation matrix.
Used in conjunction with Quaternion to provide an additional means of rotating OpenSCAD objects and vectors (Vec3.t).
of_row_list_exn l
Create a rotation matrix from a list l of three rows. Throws an exception if l is not the correct length.
of_col_list_exn l
Create a rotation matrix from a list l of three columns. Throws an exception if l is not the correct length.
align_exn a b
Calculate a rotation matrix that would bring a into alignment with b. Throws an exception if the vectors are equal or zero.
to_euler t
Convert t to an equivalent (x, y, z) euler rotation vector.
trace t
Sum the elements on the main diagonal (upper left to lower right) of t.
get t r c
Get the element at row and column of t. Equivalent to t.(r).(c).