Public Member Functions | Protected Member Functions | Protected Attributes

Well::Track Class Reference

Inheritance diagram for Well::Track:
Well::DahObj NamedObject CallBacker

List of all members.

Public Member Functions

 Track (const char *nm=0)
 Track (const Track &t)
Trackoperator= (const Track &)
const Coord3pos (int idx) const
float value (int idx) const
int nrPoints () const
bool zIsTime () const
int insertPoint (const Coord &, float z)
void addPoint (const Coord &, float z, float dah=mUdf(float))
 Point must be further down track. No checks.
void setPoint (int, const Coord &, float z)
 Will correct all dahs below point.
void insertAfterIdx (int, const Coord3 &)
 Know what you're doing - not used normally.
void removePoint (int)
 Will correct all dahs below point.
Coord3 getPos (float d_ah) const
float getDahForTVD (float, float prevdah=mUdf(float)) const
float nearestDah (const Coord3 &) const
Coord3 coordAfterIdx (float d_ah, int) const
 Beware: no bounds check on index.
bool alwaysDownward () const
void toTime (const D2TModel &)

Protected Member Functions

void removeAux (int idx)
void eraseAux ()

Protected Attributes

TypeSet< Coord3pos_
bool zistime_

Constructor & Destructor Documentation

Well::Track::Track ( const char *  nm = 0  )  [inline]
Well::Track::Track ( const Track t  )  [inline]

Member Function Documentation

void Well::Track::addPoint ( const Coord ,
float  z,
float  dah = mUdf(float) 
)

Point must be further down track. No checks.

bool Well::Track::alwaysDownward (  )  const
Coord3 Well::Track::coordAfterIdx ( float  d_ah,
int   
) const

Beware: no bounds check on index.

void Well::Track::eraseAux (  )  [inline, protected, virtual]

Implements Well::DahObj.

float Well::Track::getDahForTVD ( float  ,
float  prevdah = mUdf(float) 
) const

Non-unique. previous DAH may be helpful Don;t use is track is in time

Coord3 Well::Track::getPos ( float  d_ah  )  const
void Well::Track::insertAfterIdx ( int  ,
const Coord3  
)

Know what you're doing - not used normally.

int Well::Track::insertPoint ( const Coord ,
float  z 
)

a 'good' place will be found If inserted at top, z will be used as first dah returns position index of the new point

float Well::Track::nearestDah ( const Coord3  )  const
int Well::Track::nrPoints (  )  const [inline]
Track& Well::Track::operator= ( const Track  ) 
const Coord3& Well::Track::pos ( int  idx  )  const [inline]
void Well::Track::removeAux ( int  idx  )  [inline, protected, virtual]

Implements Well::DahObj.

void Well::Track::removePoint ( int   ) 

Will correct all dahs below point.

void Well::Track::setPoint ( int  ,
const Coord ,
float  z 
)

Will correct all dahs below point.

void Well::Track::toTime ( const D2TModel  ) 
float Well::Track::value ( int  idx  )  const [inline, virtual]

Implements Well::DahObj.

bool Well::Track::zIsTime (  )  const [inline]

Member Data Documentation

bool Well::Track::zistime_ [protected]