v3d.math#

[[Source]]

Math and geometry API.

Symbols#

Function#

v3d.math.carthesian_to_spherical

Convert (x, y, z) to (r, theta, phi).

v3d.math.euler_to_rot

Creates a 3x3 matrix from the euler radian angles.

v3d.math.interp_img

Bilinear interpolation of coordinates from an image.

v3d.math.interp_points

Spline interpolation between x-d Points.

v3d.math.is_orth

Check if the matrix is a valid orthogonal matrix O(3).

v3d.math.is_rot

Checks if a matrix is a valid rotation matrix SO(3).

v3d.math.rot_to_euler

Extract euler angles from a 3x3 rotation matrix.

v3d.math.rot_x

Rotation matrix for rotation around X (in radians).

v3d.math.rot_y

Rotation matrix for rotation around Y (in radians).

v3d.math.rot_z

Rotation matrix for rotation around Z (in radians).

v3d.math.spherical_to_carthesian

Convert (r, theta, phi) to (x, y, z).

v3d.math.subsample

Subsample the given DataclassArray.

Attribute#

v3d.math.DEG2RAD

v3d.math.RAD2DEG