File: naming_conventions.rst

package info (click to toggle)
transforms3d 0.4.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,996 kB
  • sloc: python: 4,069; makefile: 103; sh: 25
file content (25 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _naming-conventions:

====================
 Naming conventions
====================

In the code, we try to abbreviate common concepts in a standard way.

* *aff*  - 4 x 4 :term:`affine matrix` for operating on homogenous coordinates
  of shape (4,) or (4, N);
* *mat* - 3 x 3 transformation matrix for operating on non-homogenous
  coordinate vectors of shape (3,) or (3, N). A :term:`rotation matrix` is an
  example of a transformation matrix;
* *euler* - :term:`euler angles` - sequence of three scalars giving rotations
  about defined axes;
* *axangle* - :term:`axis angle` - axis (vector) and angle (scalar) giving
  axis around which to rotate and angle of rotation;
* *quat* - :term:`quaternion` - shape (4,);
* *rfnorm* : reflection in plane defined by normal (vector) and optional point
  (vector);
* *zfdir* : zooms encoded by factor (scalar) and direction (vector);
* *striu* : shears encoded by vector giving triangular portion above diagonal
  of N x N array (for ND transformation);
* *sadn* : shears encoded by angle scalar, direction vector, normal vector
  (with optional point vector).