Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
A XYZ range used to record drawn points in an effective bounding box. More...
#include <bayeux/geomtools/gnuplot_draw.h>
Public Member Functions | |
xyz_range () | |
Constructor. More... | |
void | reset_ranges () |
Reset the embedded X, Y, Z ranges. More... | |
void | activate () |
Activate the recording of drawn points. More... | |
void | deactivate () |
Deactivate the recording of drawn points. More... | |
bool | is_activated () const |
Check activation flag. More... | |
const mygsl::min_max & | get_x_range () const |
Return the const range on X axis. More... | |
const mygsl::min_max & | get_y_range () const |
Return the const range on Y axis. More... | |
const mygsl::min_max & | get_z_range () const |
Return the const range on Z axis. More... | |
void | add_point (double x_, double y_, double z_) |
Add a point only if activated. More... | |
void | add_point (const vector_3d &point_) |
Add a point only if activated. More... | |
A XYZ range used to record drawn points in an effective bounding box.
geomtools::gnuplot_draw::xyz_range::xyz_range | ( | ) |
Constructor.
void geomtools::gnuplot_draw::xyz_range::activate | ( | ) |
Activate the recording of drawn points.
void geomtools::gnuplot_draw::xyz_range::add_point | ( | double | x_, |
double | y_, | ||
double | z_ | ||
) |
Add a point only if activated.
void geomtools::gnuplot_draw::xyz_range::add_point | ( | const vector_3d & | point_ | ) |
Add a point only if activated.
void geomtools::gnuplot_draw::xyz_range::deactivate | ( | ) |
Deactivate the recording of drawn points.
const mygsl::min_max& geomtools::gnuplot_draw::xyz_range::get_x_range | ( | ) | const |
Return the const range on X axis.
const mygsl::min_max& geomtools::gnuplot_draw::xyz_range::get_y_range | ( | ) | const |
Return the const range on Y axis.
const mygsl::min_max& geomtools::gnuplot_draw::xyz_range::get_z_range | ( | ) | const |
Return the const range on Z axis.
bool geomtools::gnuplot_draw::xyz_range::is_activated | ( | ) | const |
Check activation flag.
void geomtools::gnuplot_draw::xyz_range::reset_ranges | ( | ) |
Reset the embedded X, Y, Z ranges.