Geophysical Inversion and Modelling Library  v1.5.2-5-g042d7f36
GIMLI::GraphDistInfo Class Reference

Public Member Functions

 GraphDistInfo (double t, double d)
 
 GraphDistInfo (double t, double d, Index cellID)
 
void setTime (double t)
 
double time () const
 
double dist () const
 
std::set< Index > & cellIDs ()
 
const std::set< Index > & cellIDs () const
 

Protected Attributes

double time_
 
double dist_
 
std::set< Index > cells_
 

Member Function Documentation

◆ cellIDs() [1/2]

std::set< Index >& GIMLI::GraphDistInfo::cellIDs ( )
inline

Index for all cells containing this wayelement

◆ cellIDs() [2/2]

const std::set< Index >& GIMLI::GraphDistInfo::cellIDs ( ) const
inline

Index for all cells containing this wayelement

◆ dist()

double GIMLI::GraphDistInfo::dist ( ) const
inline

Distance of the way element.

◆ setTime()

void GIMLI::GraphDistInfo::setTime ( double  t)
inline

Travel time for the current way element. Depends on the graph initialization.

◆ time()

double GIMLI::GraphDistInfo::time ( ) const
inline

Travel time for the current way element. Depends on the graph initialization.