ktk.geometry#
Provide 3D geometry and linear algebra functions related to biomechanics.
Note
As a convention, the first dimension of every array is always N and corresponds to time.
Functions
Create an Nx4 point series ([[x, y, z, 1.0], ...]). |
|
Create an Nx4x4 transform series from multiple input forms. |
|
Create an Nx4 vector series ([[x, y, z, 0.0], ...]). |
|
Extract Euler angles from a transform series. |
|
Express local coordinates in the global reference frame. |
|
Express global coordinates in local reference frames. |
|
Extract quaternions from a transform series. |
|
Check that the input is an Nx4 point series ([[x, y, z, 1.0], ...]). |
|
Check that the input is an Nx4x4 series of homogeneous transforms. |
|
Check that the input is an Nx4 vector series ([[x, y, z, 0.0], ...]). |
|
Check which samples contain at least one NaN. |
|
Matrix multiplication between series of matrices. |
|
Mirror a series of coordinates. |
|
Find the homogeneous transforms between two series of point clouds. |
|
Rotate a series of coordinates along given axes. |
|
Scale a series of coordinates. |
|
Translate a series of coordinates. |