34 : DahObj(nm), zistime_(false) {}
36 : DahObj(
"") { *
this = t; }
40 const Coord3&
pos(
int idx )
const {
return pos_[idx]; }
41 float value(
int idx )
const {
return (
float) pos_[idx].z; }
42 float getKbElev()
const;
44 {
return isEmpty() ? 0 : dah_.last(); }
45 int size()
const {
return pos_.size(); }
51 int insertPoint(
const Coord3&);
52 int insertPoint(
const Coord&,
float z);
56 void addPoint(
const Coord3&,
float dah=
mUdf(
float));
57 void addPoint(
const Coord&,
float z,
float dah=
mUdf(
float));
59 void setPoint(
int,
const Coord3&);
60 void setPoint(
int,
const Coord&,
float z);
62 void insertAfterIdx(
int,
const Coord3&);
64 void removePoint(
int);
67 Coord3 getPos(
float d_ah)
const;
70 float getDahForTVD(
double,
float prevdah=
mUdf(
float))
const;
71 float getDahForTVD(
float,
float prevdah=
mUdf(
float))
const;
74 float nearestDah(
const Coord3&)
const;
78 Coord3 coordAfterIdx(
float d_ah,
int)
const;
81 bool insertAtDah(
float dah,
float zpos);
84 bool alwaysDownward()
const;
85 void toTime(
const Data&);
#define mExpClass(module)
Definition: commondefs.h:160
const Coord3 & pos(int idx) const
Definition: welltrack.h:40
Track(const Track &t)
Definition: welltrack.h:35
const TypeSet< Coord3 > & getAllPos() const
Definition: welltrack.h:68
float value(int idx) const
Definition: welltrack.h:41
bool zIsTime() const
Definition: welltrack.h:46
A cartesian coordinate in 2D space.
Definition: coord.h:25
void eraseAux()
Definition: welltrack.h:94
TypeSet< Coord3 > pos_
Definition: welltrack.h:90
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Definition: directionalsurvey.h:19
Well track.
Definition: welltrack.h:29
Track(const char *nm=0)
Definition: welltrack.h:33
Depth/Distance along hole object.
Definition: welldahobj.h:28
A cartesian coordinate in 3D space.
Definition: coord.h:72
void removeAux(int idx)
Definition: welltrack.h:93
virtual void erase()
Definition: typeset.h:339
virtual void removeSingle(size_type, bool preserver_order=true)
Definition: typeset.h:500
The holder of all data concerning a certain well.
Definition: welldata.h:113
bool isEmpty(const NLAModel *mdl)
bool zistime_
Definition: welltrack.h:91
int size() const
Definition: welltrack.h:45
float td() const
Definition: welltrack.h:43