Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
geomtools::gnuplot_draw::xyz_range Struct Reference

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_maxget_x_range () const
 Return the const range on X axis. More...
 
const mygsl::min_maxget_y_range () const
 Return the const range on Y axis. More...
 
const mygsl::min_maxget_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...
 

Detailed Description

A XYZ range used to record drawn points in an effective bounding box.

Constructor & Destructor Documentation

◆ xyz_range()

geomtools::gnuplot_draw::xyz_range::xyz_range ( )

Constructor.

Member Function Documentation

◆ activate()

void geomtools::gnuplot_draw::xyz_range::activate ( )

Activate the recording of drawn points.

◆ add_point() [1/2]

void geomtools::gnuplot_draw::xyz_range::add_point ( double  x_,
double  y_,
double  z_ 
)

Add a point only if activated.

◆ add_point() [2/2]

void geomtools::gnuplot_draw::xyz_range::add_point ( const vector_3d point_)

Add a point only if activated.

◆ deactivate()

void geomtools::gnuplot_draw::xyz_range::deactivate ( )

Deactivate the recording of drawn points.

◆ get_x_range()

const mygsl::min_max& geomtools::gnuplot_draw::xyz_range::get_x_range ( ) const

Return the const range on X axis.

◆ get_y_range()

const mygsl::min_max& geomtools::gnuplot_draw::xyz_range::get_y_range ( ) const

Return the const range on Y axis.

◆ get_z_range()

const mygsl::min_max& geomtools::gnuplot_draw::xyz_range::get_z_range ( ) const

Return the const range on Z axis.

◆ is_activated()

bool geomtools::gnuplot_draw::xyz_range::is_activated ( ) const

Check activation flag.

◆ reset_ranges()

void geomtools::gnuplot_draw::xyz_range::reset_ranges ( )

Reset the embedded X, Y, Z ranges.


The documentation for this struct was generated from the following file: