Berkeley Nuclear Data Software
|
#include <CutClasses.h>
Public Member Functions | |
GraphCut () | |
default constrcutor More... | |
void | setPoints (std::vector< std::pair< double, double >> a_points) |
bool | passesCut (double a_X, const std::vector< double > &a_Ys={}) const |
std::vector< std::pair< double, double > > | getNPoints (int a_N, double a_minX, double a_maxX) |
GraphCut * | clone () |
Public Member Functions inherited from CutBase | |
CutBase () | |
std::string | getVarXName () const |
std::string | getVarYName () const |
void | setVarXName (std::string a_varXName) |
void | setVarYName (std::string a_varYName) |
void | setRange (double a_min, double a_max) |
TCutG * | getTCut (int a_N=10, double a_minX=0, double a_maxX=0, std::string a_name="CUTG") |
virtual | ~CutBase () |
Additional Inherited Members | |
Protected Attributes inherited from CutBase | |
std::string | m_varXName |
std::string | m_varYName |
double | m_rMin |
double | m_rMax |
bool | m_hasRange |
this is used to read a cut made from a graph where the graph represents a closed polygon. Generally created to create a means for storing TCutG objects in our json config files for easy storage and loading
GraphCut::GraphCut | ( | ) |
default constrcutor
|
virtual |
|
virtual |
Reimplemented from CutBase.
|
virtual |
pure virtual function enforces implementation by inheriting base class a_X is used as value to test for single dimensional cuts a_Y allows extension in multi dimension by adding values to test
Implements CutBase.
void GraphCut::setPoints | ( | std::vector< std::pair< double, double >> | a_points | ) |