|
Blender V4.3
|
#include <BLI_math_basis_types.hh>
Public Member Functions | |
| CartesianBasis ()=default | |
| CartesianBasis (const AxisSigned x, const AxisSigned y, const AxisSigned z) | |
| const AxisSigned & | x () const |
| const AxisSigned & | y () const |
| const AxisSigned & | z () const |
| AxisSigned & | x () |
| AxisSigned & | y () |
| AxisSigned & | z () |
Public Attributes | |
| VecBase< AxisSigned, 3 > | axes = {AxisSigned::X_POS, AxisSigned::Y_POS, AxisSigned::Z_POS} |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const CartesianBasis &rot) |
An blender::math::CartesianBasis represents an orientation that is aligned with the basis axes. This type of rotation is fast, precise and adds more meaning to the code that uses it.
Definition at line 349 of file BLI_math_basis_types.hh.
|
default |
|
inline |
Create an arbitrary basis orientation. Handedness can be flipped but an axis cannot be present twice.
Definition at line 358 of file BLI_math_basis_types.hh.
References blender::math::abs(), BLI_assert, and z().
|
inline |
Definition at line 380 of file BLI_math_basis_types.hh.
References axes.
|
inline |
Definition at line 365 of file BLI_math_basis_types.hh.
References axes.
Referenced by blender::math::invert(), and blender::math::transform_point().
|
inline |
Definition at line 385 of file BLI_math_basis_types.hh.
References axes.
|
inline |
Definition at line 370 of file BLI_math_basis_types.hh.
References axes.
Referenced by blender::math::invert(), and blender::math::transform_point().
|
inline |
Definition at line 390 of file BLI_math_basis_types.hh.
References axes.
|
inline |
Definition at line 375 of file BLI_math_basis_types.hh.
References axes.
Referenced by CartesianBasis(), blender::math::invert(), and blender::math::transform_point().
|
friend |
Definition at line 40 of file math_basis_types.cc.
| VecBase<AxisSigned, 3> blender::math::CartesianBasis::axes = {AxisSigned::X_POS, AxisSigned::Y_POS, AxisSigned::Z_POS} |
Definition at line 350 of file BLI_math_basis_types.hh.
Referenced by blender::math::rotation_between(), x(), x(), y(), y(), z(), and z().