Geogram Version 1.8.5
A programming library of geometric algorithms
|
3D vector in homogeneous coordinates with coordinates as arithmetic expansions. More...
#include <geogram/numerics/exact_geometry.h>
Public Member Functions | |
vec3HE () | |
Creates an uninitialized vec3HE. | |
vec3HE (const expansion_nt &x_in, const expansion_nt &y_in, const expansion_nt &z_in, const expansion_nt &w_in) | |
vec3HE (expansion_nt &&x_in, expansion_nt &&y_in, expansion_nt &&z_in, expansion_nt &&w_in) | |
vec3HE (double x_in, double y_in, double z_in, double w_in) | |
vec3HE (const vec3HE &rhs) | |
vec3HE (vec3HE &&rhs) | |
vec3HE (const vec3 &rhs) | |
vec3HE & | operator= (const vec3HE &rhs) |
vec3HE & | operator= (vec3HE &&rhs) |
expansion_nt * | data () |
const expansion_nt * | data () const |
expansion_nt & | operator[] (coord_index_t i) |
const expansion_nt & | operator[] (coord_index_t i) const |
void | optimize () |
Optimizes the internal storage of the expansions used to store the coordinates. | |
Public Attributes | |
expansion_nt | x |
expansion_nt | y |
expansion_nt | z |
expansion_nt | w |
3D vector in homogeneous coordinates with coordinates as arithmetic expansions.
Coordinates support +,-,* and / by multiplying w.
Definition at line 173 of file exact_geometry.h.
|
inline |
Creates an uninitialized vec3HE.
Definition at line 178 of file exact_geometry.h.
|
inline |
Definition at line 186 of file exact_geometry.h.
|
inline |
Definition at line 194 of file exact_geometry.h.
|
inline |
Definition at line 202 of file exact_geometry.h.
|
inline |
Definition at line 210 of file exact_geometry.h.
|
inline |
Definition at line 214 of file exact_geometry.h.
|
inlineexplicit |
Definition at line 218 of file exact_geometry.h.
|
inline |
Definition at line 242 of file exact_geometry.h.
|
inline |
Definition at line 246 of file exact_geometry.h.
Definition at line 222 of file exact_geometry.h.
Definition at line 232 of file exact_geometry.h.
|
inline |
Definition at line 250 of file exact_geometry.h.
|
inline |
Definition at line 255 of file exact_geometry.h.
|
inline |
Optimizes the internal storage of the expansions used to store the coordinates.
Definition at line 264 of file exact_geometry.h.
expansion_nt GEO::vec3HE::w |
Definition at line 274 of file exact_geometry.h.
expansion_nt GEO::vec3HE::x |
Definition at line 271 of file exact_geometry.h.
expansion_nt GEO::vec3HE::y |
Definition at line 272 of file exact_geometry.h.
expansion_nt GEO::vec3HE::z |
Definition at line 273 of file exact_geometry.h.