Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Weight data for combined vertex generators. More...
#include <bayeux/genvtx/utils.h>
Public Member Functions | |
weight_entry_type () | |
Default constructor. More... | |
bool | is_valid () const |
Check the validity of weight parameters. More... | |
void | reset () |
Reset the weight parameters. More... | |
void | invalidate () |
Invalidate the weight parameters. More... | |
double | get_weight () const |
Return the weight. More... | |
double | get_cumulated_weight () const |
Return the cumulated weight. More... | |
const geomtools::geom_info & | get_ginfo () const |
Return a reference to the non mutable geometry info. More... | |
bool | has_ginfo () const |
Check if geometry info is available. More... | |
Public Attributes | |
double | weight |
Weight. More... | |
double | cumulated_weight |
Cumulated weight. More... | |
const geomtools::geom_info * | ginfo |
Handle to associated geometry data. More... | |
Weight data for combined vertex generators.
genvtx::weight_entry_type::weight_entry_type | ( | ) |
Default constructor.
double genvtx::weight_entry_type::get_cumulated_weight | ( | ) | const |
Return the cumulated weight.
const geomtools::geom_info& genvtx::weight_entry_type::get_ginfo | ( | ) | const |
Return a reference to the non mutable geometry info.
double genvtx::weight_entry_type::get_weight | ( | ) | const |
Return the weight.
bool genvtx::weight_entry_type::has_ginfo | ( | ) | const |
Check if geometry info is available.
void genvtx::weight_entry_type::invalidate | ( | ) |
Invalidate the weight parameters.
bool genvtx::weight_entry_type::is_valid | ( | ) | const |
Check the validity of weight parameters.
void genvtx::weight_entry_type::reset | ( | ) |
Reset the weight parameters.
double genvtx::weight_entry_type::cumulated_weight |
Cumulated weight.
const geomtools::geom_info* genvtx::weight_entry_type::ginfo |
Handle to associated geometry data.
double genvtx::weight_entry_type::weight |
Weight.