|
Geogram Version 1.8.5
A programming library of geometric algorithms
|
2D vector in homogeneous coordinates with coordinates as arithmetic expansions More...
#include <geogram/numerics/exact_geometry.h>
Public Member Functions | |
| vec2HE () | |
| Creates an uninitialized vec2HE. | |
| vec2HE (const expansion_nt &x_in, const expansion_nt &y_in, const expansion_nt &w_in) | |
| vec2HE (expansion_nt &&x_in, expansion_nt &&y_in, expansion_nt &&w_in) | |
| vec2HE (const vec2HE &rhs) | |
| vec2HE (vec2HE &&rhs) | |
| vec2HE (const vec2 &rhs) | |
| vec2HE & | operator= (const vec2HE &rhs) |
| vec2HE & | operator= (vec2HE &&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 | w |
2D vector in homogeneous coordinates with coordinates as arithmetic expansions
Coordinates support +,-,* and / by multiplying w.
Definition at line 78 of file exact_geometry.h.
|
inline |
Creates an uninitialized vec2HE.
Definition at line 83 of file exact_geometry.h.
|
inline |
Definition at line 90 of file exact_geometry.h.
|
inline |
Definition at line 97 of file exact_geometry.h.
|
inline |
Definition at line 104 of file exact_geometry.h.
|
inline |
Definition at line 108 of file exact_geometry.h.
|
inlineexplicit |
Definition at line 112 of file exact_geometry.h.
|
inline |
Definition at line 134 of file exact_geometry.h.
|
inline |
Definition at line 138 of file exact_geometry.h.
Definition at line 116 of file exact_geometry.h.
Definition at line 125 of file exact_geometry.h.
|
inline |
Definition at line 142 of file exact_geometry.h.
|
inline |
Definition at line 147 of file exact_geometry.h.
|
inline |
Optimizes the internal storage of the expansions used to store the coordinates.
Definition at line 156 of file exact_geometry.h.
| expansion_nt GEO::vec2HE::w |
Definition at line 164 of file exact_geometry.h.
| expansion_nt GEO::vec2HE::x |
Definition at line 162 of file exact_geometry.h.
| expansion_nt GEO::vec2HE::y |
Definition at line 163 of file exact_geometry.h.