|
Blender V5.0
|
#include <stdbool.h>Go to the source code of this file.
Classes | |
| struct | Quadric |
Typedefs | |
| typedef struct Quadric | Quadric |
Functions | |
| void | BLI_quadric_from_plane (Quadric *q, const double v[4]) |
| void | BLI_quadric_to_vector_v3 (const Quadric *q, double v[3]) |
| void | BLI_quadric_clear (Quadric *q) |
| void | BLI_quadric_add_qu_qu (Quadric *a, const Quadric *b) |
| void | BLI_quadric_add_qu_ququ (Quadric *r, const Quadric *a, const Quadric *b) |
| void | BLI_quadric_mul (Quadric *a, double scalar) |
| double | BLI_quadric_evaluate (const Quadric *q, const double v[3]) |
| bool | BLI_quadric_optimize (const Quadric *q, double v[3], double epsilon) |
| typedef struct Quadric Quadric |
Definition at line 115 of file quadric.cc.
References add_vn_vn_d(), b, and QUADRIC_FLT_TOT.
Referenced by bm_decim_build_quadrics(), and bm_decim_edge_collapse().
Definition at line 120 of file quadric.cc.
References add_vn_vnvn_d(), b, and QUADRIC_FLT_TOT.
Referenced by bm_decim_calc_target_co_db().
| void BLI_quadric_clear | ( | Quadric * | q | ) |
Definition at line 110 of file quadric.cc.
| double BLI_quadric_evaluate | ( | const Quadric * | q, |
| const double | v[3] ) |
Definition at line 130 of file quadric.cc.
References Quadric::a2, Quadric::ab, Quadric::ac, Quadric::ad, Quadric::b2, Quadric::bc, Quadric::bd, Quadric::c2, Quadric::cd, Quadric::d2, and v.
Referenced by bm_decim_build_edge_cost_single().
| void BLI_quadric_from_plane | ( | Quadric * | q, |
| const double | v[4] ) |
Definition at line 31 of file quadric.cc.
References Quadric::a2, Quadric::ab, Quadric::ac, Quadric::ad, Quadric::b2, Quadric::bc, Quadric::bd, Quadric::c2, Quadric::cd, Quadric::d2, and v.
Referenced by bm_decim_build_quadrics().
| void BLI_quadric_mul | ( | Quadric * | a, |
| double | scalar ) |
Definition at line 125 of file quadric.cc.
References mul_vn_db(), and QUADRIC_FLT_TOT.
Referenced by bm_decim_build_quadrics().
| bool BLI_quadric_optimize | ( | const Quadric * | q, |
| double | v[3], | ||
| double | epsilon ) |
Definition at line 142 of file quadric.cc.
References BLI_quadric_to_vector_v3(), mul_m3_v3_db(), negate_v3_db(), quadric_to_tensor_m3_inverse(), and v.
Referenced by bm_decim_calc_target_co_db().
| void BLI_quadric_to_vector_v3 | ( | const Quadric * | q, |
| double | v[3] ) |
Definition at line 103 of file quadric.cc.
References Quadric::ad, Quadric::bd, Quadric::cd, and v.
Referenced by BLI_quadric_optimize().