|
Blender
V2.93
|
#include <BLI_double3.hh>
Public Member Functions | |
| double3 ()=default | |
| double3 (const double *ptr) | |
| double3 (const double(*ptr)[3]) | |
| double3 (double value) | |
| double3 (int value) | |
| double3 (double x, double y, double z) | |
| operator const double * () const | |
| operator double * () | |
| double | normalize_and_get_length () |
| double3 | normalized () const |
| double | length () const |
| double | length_squared () const |
| void | reflect (const double3 &normal) |
| double3 | reflected (const double3 &normal) const |
| void | invert () |
| void | operator+= (const double3 &b) |
| void | operator-= (const double3 &b) |
| void | operator*= (const double &scalar) |
| void | operator*= (const double3 &other) |
Static Public Member Functions | |
| static double3 | safe_divide (const double3 &a, const double3 &b) |
| static double | dot (const double3 &a, const double3 &b) |
| static double3 | cross_high_precision (const double3 &a, const double3 &b) |
| static double3 | project (const double3 &a, const double3 &b) |
| static double | distance (const double3 &a, const double3 &b) |
| static double | distance_squared (const double3 &a, const double3 &b) |
| static double3 | interpolate (const double3 &a, const double3 &b, double t) |
| static double3 | abs (const double3 &a) |
| static int | dominant_axis (const double3 &a) |
| static double3 | cross_poly (Span< double3 > poly) |
Public Attributes | |
| double | x |
| double | y |
| double | z |
Friends | |
| double3 | operator+ (const double3 &a, const double3 &b) |
| double3 | operator- (const double3 &a, const double3 &b) |
| double3 | operator- (const double3 &a) |
| double3 | operator* (const double3 &a, const double3 &b) |
| double3 | operator* (const double3 &a, const double &b) |
| double3 | operator* (const double &a, const double3 &b) |
| double3 | operator/ (const double3 &a, const double &b) |
| bool | operator== (const double3 &a, const double3 &b) |
| bool | operator!= (const double3 &a, const double3 &b) |
| std::ostream & | operator<< (std::ostream &stream, const double3 &v) |
Definition at line 30 of file BLI_double3.hh.
|
default |
Referenced by abs(), and cross_poly().
|
inline |
Definition at line 35 of file BLI_double3.hh.
|
inline |
Definition at line 39 of file BLI_double3.hh.
|
inlineexplicit |
Definition at line 43 of file BLI_double3.hh.
|
inlineexplicit |
Definition at line 47 of file BLI_double3.hh.
Definition at line 51 of file BLI_double3.hh.
Definition at line 230 of file BLI_double3.hh.
References Freestyle::a, double3(), and fabs().
|
inlinestatic |
Definition at line 200 of file BLI_double3.hh.
References Freestyle::a, cross_v3_v3v3_db(), and result.
Definition at line 126 of file math_vec.cc.
References double3(), and blender::Span< T >::size().
Definition at line 214 of file BLI_double3.hh.
References Freestyle::a.
|
inlinestatic |
Definition at line 219 of file BLI_double3.hh.
References Freestyle::a, KDL::diff(), and dot().
|
inlinestatic |
Definition at line 235 of file BLI_double3.hh.
References Freestyle::a, return(), x, y, and z.
Definition at line 195 of file BLI_double3.hh.
References Freestyle::a, x, y, and z.
Referenced by distance_squared().
|
inlinestatic |
Definition at line 225 of file BLI_double3.hh.
References Freestyle::a, and t.
|
inline |
Definition at line 108 of file BLI_double3.hh.
|
inline |
Definition at line 77 of file BLI_double3.hh.
References len_v3_db().
|
inline |
Definition at line 82 of file BLI_double3.hh.
References len_squared_v3_db().
|
inline |
Definition at line 65 of file BLI_double3.hh.
References normalize_v3_db().
|
inline |
Definition at line 70 of file BLI_double3.hh.
References normalize_v3_v3_db(), and result.
|
inline |
Definition at line 55 of file BLI_double3.hh.
References x.
|
inline |
Definition at line 60 of file BLI_double3.hh.
References x.
|
inline |
Definition at line 144 of file BLI_double3.hh.
|
inline |
Definition at line 151 of file BLI_double3.hh.
|
inline |
Definition at line 120 of file BLI_double3.hh.
|
inline |
Definition at line 137 of file BLI_double3.hh.
Definition at line 207 of file BLI_double3.hh.
References Freestyle::a, project_v3_v3v3_db(), and result.
|
inline |
Definition at line 87 of file BLI_double3.hh.
References reflected().
Definition at line 92 of file BLI_double3.hh.
References normal, reflect_v3_v3v3_db(), and result.
Referenced by reflect().
Definition at line 99 of file BLI_double3.hh.
References Freestyle::a, result, x, y, and z.
Definition at line 184 of file BLI_double3.hh.
Definition at line 168 of file BLI_double3.hh.
Definition at line 163 of file BLI_double3.hh.
Definition at line 158 of file BLI_double3.hh.
Definition at line 115 of file BLI_double3.hh.
Definition at line 132 of file BLI_double3.hh.
Definition at line 127 of file BLI_double3.hh.
Definition at line 173 of file BLI_double3.hh.
|
friend |
Definition at line 189 of file BLI_double3.hh.
Definition at line 179 of file BLI_double3.hh.
| double blender::double3::x |
Definition at line 31 of file BLI_double3.hh.
Referenced by dominant_axis(), dot(), invert(), operator const double *(), operator double *(), operator*=(), operator+=(), operator-=(), and safe_divide().
| double blender::double3::y |
Definition at line 31 of file BLI_double3.hh.
Referenced by dominant_axis(), dot(), invert(), operator*=(), operator+=(), operator-=(), and safe_divide().
| double blender::double3::z |
Definition at line 31 of file BLI_double3.hh.
Referenced by dominant_axis(), dot(), invert(), operator*=(), operator+=(), operator-=(), and safe_divide().