|
Blender
V2.93
|
#include <BLI_double2.hh>
Classes | |
| struct | isect_result |
Public Member Functions | |
| double2 ()=default | |
| double2 (const double *ptr) | |
| double2 (double x, double y) | |
| double2 (const double3 &other) | |
| operator double * () | |
| operator const double * () const | |
| double | length () const |
Static Public Member Functions | |
| static double | dot (const double2 &a, const double2 &b) |
| static double2 | interpolate (const double2 &a, const double2 &b, double t) |
| static double2 | abs (const double2 &a) |
| static double | distance (const double2 &a, const double2 &b) |
| static double | distance_squared (const double2 &a, const double2 &b) |
| static isect_result | isect_seg_seg (const double2 &v1, const double2 &v2, const double2 &v3, const double2 &v4) |
Public Attributes | |
| double | x |
| double | y |
Friends | |
| double2 | operator+ (const double2 &a, const double2 &b) |
| double2 | operator- (const double2 &a, const double2 &b) |
| double2 | operator* (const double2 &a, double b) |
| double2 | operator/ (const double2 &a, double b) |
| double2 | operator* (double a, const double2 &b) |
| bool | operator== (const double2 &a, const double2 &b) |
| bool | operator!= (const double2 &a, const double2 &b) |
| std::ostream & | operator<< (std::ostream &stream, const double2 &v) |
Definition at line 27 of file BLI_double2.hh.
|
default |
Referenced by abs().
|
inline |
Definition at line 32 of file BLI_double2.hh.
Definition at line 36 of file BLI_double2.hh.
|
inline |
Definition at line 40 of file BLI_double2.hh.
Definition at line 111 of file BLI_double2.hh.
References Freestyle::a, double2(), and fabs().
Definition at line 116 of file BLI_double2.hh.
References Freestyle::a.
|
inlinestatic |
Definition at line 121 of file BLI_double2.hh.
References Freestyle::a, KDL::diff(), and dot().
Definition at line 101 of file BLI_double2.hh.
References Freestyle::a, x, and y.
Referenced by distance_squared().
|
inlinestatic |
Definition at line 106 of file BLI_double2.hh.
References Freestyle::a, and t.
|
static |
Definition at line 64 of file math_vec.cc.
References blender::double2::isect_result::kind, blender::double2::isect_result::lambda, blender::double2::isect_result::LINE_LINE_COLINEAR, blender::double2::isect_result::LINE_LINE_CROSS, blender::double2::isect_result::LINE_LINE_EXACT, blender::double2::isect_result::LINE_LINE_NONE, v1, and v2.
|
inline |
Definition at line 54 of file BLI_double2.hh.
References len_v2_db().
|
inline |
Definition at line 49 of file BLI_double2.hh.
References x.
|
inline |
Definition at line 44 of file BLI_double2.hh.
References x.
Definition at line 90 of file BLI_double2.hh.
Definition at line 69 of file BLI_double2.hh.
Definition at line 80 of file BLI_double2.hh.
Definition at line 59 of file BLI_double2.hh.
Definition at line 64 of file BLI_double2.hh.
Definition at line 74 of file BLI_double2.hh.
|
friend |
Definition at line 95 of file BLI_double2.hh.
Definition at line 85 of file BLI_double2.hh.
| double blender::double2::x |
Definition at line 28 of file BLI_double2.hh.
Referenced by dot(), operator const double *(), and operator double *().
| double blender::double2::y |
Definition at line 28 of file BLI_double2.hh.
Referenced by dot().