ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
larcfm::BandsRange Class Reference

Public Types

typedef std::vector< BandsRange >::size_type nat
 

Public Member Functions

 BandsRange (const Interval &i, BandsRegion::Region r)
 
std::string toString () const
 
std::string toPVS () const
 

Static Public Member Functions

static void makeRangesFromColorValues (std::vector< BandsRange > &ranges, const std::vector< ColorValue > &l, bool recovery)
 
static int index_of (const std::vector< BandsRange > &ranges, double val, double mod)
 

Public Attributes

Interval interval
 
BandsRegion::Region region
 

Static Private Member Functions

static BandsRegion::Region resolution_region (BandsRegion::Region region, bool recovery)
 

Member Function Documentation

◆ index_of()

int larcfm::BandsRange::index_of ( const std::vector< BandsRange > &  ranges,
double  val,
double  mod 
)
static

Return index in ranges_ where val is found, -1 if invalid input or not found. Notice that values at the limits may be included or not depending on the regions.


The documentation for this class was generated from the following files: