#include <Simplify.h>
Public Member Functions | |
double | angle (const vec3f &v) |
double | angle2 (const vec3f &v, const vec3f &w) |
void | clamp (double min, double max) |
vec3f | cross (const vec3f &a, const vec3f &b) |
double | dot (const vec3f &a) const |
vec3f | frac () |
vec3f | integer () |
vec3f | invert () |
double | length () const |
vec3f | normalize (double desired_length=1) |
vec3f | operator* (const double a) const |
vec3f | operator* (const vec3f a) const |
vec3f | operator+ (const vec3f &a) const |
vec3f | operator+= (const vec3f &a) const |
vec3f | operator- (const vec3f &a) const |
vec3f | operator/ (const vec3f a) const |
vec3f | operator/ (const double a) const |
vec3f | operator= (const vector3 a) |
vec3f | operator= (const vec3f a) |
vec3f | random01_fxyz () |
double | random_double_01 (double a) |
vec3f | rot_x (double a) |
vec3f | rot_y (double a) |
vec3f | rot_z (double a) |
vec3f | v3 () const |
vec3f (void) | |
vec3f (vector3 a) | |
vec3f (const double X, const double Y, const double Z) | |
Static Public Member Functions | |
static vec3f | normalize (vec3f a) |
static vec3f | random () |
static double | random_double () |
static void | random_init () |
Public Attributes | |
double | x |
double | y |
double | z |
Static Public Attributes | |
static int | random_number |
Definition at line 36 of file Simplify.h.
|
inline |
Definition at line 40 of file Simplify.h.
|
inline |
Definition at line 45 of file Simplify.h.
References vector3::x, vector3::y, and vector3::z.
|
inline |
Definition at line 52 of file Simplify.h.
|
inline |
Definition at line 128 of file Simplify.h.
References length(), x, y, vector3::z, and z.
|
inline |
Definition at line 176 of file Simplify.h.
References min().
Definition at line 120 of file Simplify.h.
Referenced by angle2(), Simplify::SimplificationObject::flipped(), and Simplify::SimplificationObject::update_mesh().
|
inline |
Definition at line 115 of file Simplify.h.
References x, y, vector3::z, and z.
Referenced by barycentric(), Simplify::SimplificationObject::flipped(), and Simplify::SimplificationObject::update_mesh().
|
inline |
Definition at line 206 of file Simplify.h.
|
inline |
Definition at line 214 of file Simplify.h.
|
inline |
Definition at line 199 of file Simplify.h.
References vector3::x, vector3::y, and vector3::z.
|
inline |
Definition at line 222 of file Simplify.h.
Referenced by angle(), and angle2().
|
inline |
Definition at line 227 of file Simplify.h.
Referenced by Simplify::SimplificationObject::flipped(), and Simplify::SimplificationObject::update_mesh().
|
inline |
Definition at line 69 of file Simplify.h.
Definition at line 74 of file Simplify.h.
Definition at line 59 of file Simplify.h.
Definition at line 64 of file Simplify.h.
Definition at line 105 of file Simplify.h.
Definition at line 100 of file Simplify.h.
|
inline |
Definition at line 110 of file Simplify.h.
Definition at line 84 of file Simplify.h.
References vector3::x, vector3::y, and vector3::z.
Definition at line 92 of file Simplify.h.
|
static |
|
inline |
Definition at line 258 of file Simplify.h.
|
static |
|
inline |
Definition at line 251 of file Simplify.h.
|
static |
|
inline |
Definition at line 160 of file Simplify.h.
References vector3::y, and vector3::z.
|
inline |
Definition at line 168 of file Simplify.h.
References vector3::x, and vector3::z.
|
inline |
Definition at line 191 of file Simplify.h.
References vector3::x, and vector3::y.
|
inline |
Definition at line 79 of file Simplify.h.
|
static |
Definition at line 249 of file Simplify.h.
double vec3f::x |
Definition at line 38 of file Simplify.h.
Referenced by angle(), angle2(), Simplify::SimplificationObject::calculate_error(), cross(), dot(), interpolate(), Simplify::SimplificationObject::load_obj(), operator*(), operator+(), operator+=(), operator-(), operator/(), operator=(), carla::geom::Simplification::Simplificate(), and Simplify::SimplificationObject::update_mesh().
double vec3f::y |
Definition at line 38 of file Simplify.h.
Referenced by angle(), angle2(), Simplify::SimplificationObject::calculate_error(), cross(), dot(), interpolate(), Simplify::SimplificationObject::load_obj(), operator*(), operator+(), operator+=(), operator-(), operator/(), operator=(), carla::geom::Simplification::Simplificate(), and Simplify::SimplificationObject::update_mesh().
double vec3f::z |
Definition at line 38 of file Simplify.h.
Referenced by angle(), angle2(), Simplify::SimplificationObject::calculate_error(), cross(), dot(), interpolate(), Simplify::SimplificationObject::load_obj(), operator*(), operator+(), operator+=(), operator-(), operator/(), operator=(), carla::geom::Simplification::Simplificate(), and Simplify::SimplificationObject::update_mesh().