|
Blender V5.0
|
#include <BLI_math_angle_types.hh>
Public Member Functions | |
| AngleRadianBase ()=default | |
| AngleRadianBase (const T &radian) | |
| AngleRadianBase (const T &cos, const T &sin) | |
| operator T () const | |
| T | degree () const |
| T | radian () const |
| AngleRadianBase | wrapped () const |
| AngleRadianBase | wrapped_around (const AngleRadianBase &reference) const |
| AngleRadianBase & | operator+= (const AngleRadianBase &b) & |
| AngleRadianBase & | operator-= (const AngleRadianBase &b) & |
| AngleRadianBase & | operator*= (const AngleRadianBase &b) & |
| AngleRadianBase & | operator/= (const AngleRadianBase &b) & |
Static Public Member Functions | |
| static AngleRadianBase | identity () |
| static AngleRadianBase | from_degree (const T °rees) |
Friends | |
| AngleRadianBase | operator+ (const AngleRadianBase &a, const AngleRadianBase &b) |
| AngleRadianBase | operator- (const AngleRadianBase &a, const AngleRadianBase &b) |
| AngleRadianBase | operator* (const AngleRadianBase &a, const AngleRadianBase &b) |
| AngleRadianBase | operator/ (const AngleRadianBase &a, const AngleRadianBase &b) |
| AngleRadianBase | operator- (const AngleRadianBase &a) |
| std::ostream & | operator<< (std::ostream &stream, const AngleRadianBase &rot) |
A blender::math::AngleRadianBase<T> is a typical radian angle.
Definition at line 34 of file BLI_math_angle_types.hh.
|
default |
|
inline |
Definition at line 41 of file BLI_math_angle_types.hh.
|
inlineexplicit |
Definition at line 42 of file BLI_math_angle_types.hh.
|
inline |
Definition at line 65 of file BLI_math_angle_types.hh.
Referenced by blender::compositor::compute_fog_glow_kernel_value().
|
inlinestatic |
Definition at line 51 of file BLI_math_angle_types.hh.
|
inlinestatic |
Static functions.
Definition at line 46 of file BLI_math_angle_types.hh.
Referenced by blender::math::EulerXYZBase< float >::identity().
|
inlineexplicit |
Conversions.
Definition at line 59 of file BLI_math_angle_types.hh.
|
inline |
Definition at line 136 of file BLI_math_angle_types.hh.
|
inline |
Definition at line 124 of file BLI_math_angle_types.hh.
|
inline |
Definition at line 130 of file BLI_math_angle_types.hh.
|
inline |
Definition at line 142 of file BLI_math_angle_types.hh.
|
inline |
Definition at line 71 of file BLI_math_angle_types.hh.
Referenced by blender::nodes::node_fn_rotation_to_axis_angle_cc::QuaterniontoAxisAngleFunction::call(), blender::math::cos(), blender::io::fbx::create_transform_curve_data(), blender::math::detail::from_rotation(), blender::ed::object::set_local_object_transform(), blender::math::sin(), blender::math::tan(), blender::tests::TEST(), blender::math::EulerXYZBase< T >::wrapped(), and blender::math::EulerXYZBase< T >::wrapped_around().
|
inline |
Methods. Return the angle wrapped inside [-pi..pi] interval. Basically (angle + pi) % 2pi - pi.
Definition at line 81 of file BLI_math_angle_types.hh.
Referenced by blender::math::EulerXYZBase< T >::wrapped(), and blender::math::AngleRadianBase< float >::wrapped_around().
|
inline |
Return the angle wrapped inside [-pi..pi] interval around a reference . Basically (angle - reference + pi) % 2pi - pi + reference . This means the interpolation between the returned value and reference will always take the shortest path.
Definition at line 92 of file BLI_math_angle_types.hh.
Referenced by blender::math::EulerXYZBase< T >::wrapped_around().
|
friend |
Definition at line 109 of file BLI_math_angle_types.hh.
|
friend |
Operators.
Definition at line 99 of file BLI_math_angle_types.hh.
|
friend |
Definition at line 119 of file BLI_math_angle_types.hh.
|
friend |
Definition at line 104 of file BLI_math_angle_types.hh.
|
friend |
Definition at line 114 of file BLI_math_angle_types.hh.
|
friend |
Definition at line 150 of file BLI_math_angle_types.hh.