21 #include "witsml1_4_1_1/AbstractObject.h" 23 #include "tools/TimeTools.h" 25 #include "resqml2_0_1/WellboreTrajectoryRepresentation.h" 37 const std::string & guid,
38 const std::string & title);
41 const std::string & guid,
42 const std::string & title,
43 const std::string & sourceName,
44 const time_t & dTimCreation,
45 const time_t & dTimLastChange,
46 const std::string & comments);
51 Trajectory(gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys* fromGsoap):
AbstractObject(fromGsoap), wellbore(nullptr), resqmlWellboreTrajectoryRepresentation(nullptr) {}
58 double getMdDatumElevation();
59 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom getMdDatumElevationUom();
60 std::string getMdDatumName();
62 unsigned int getTrajectoryStationCount()
const;
64 void getMds(
double * mds)
const;
65 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom getMdUom()
const;
67 unsigned int getInclinometries(
double * incls)
const;
68 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom getInclinometryUom()
const;
70 unsigned int getAzimuths(
double * azims)
const;
71 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom getAzimuthUom()
const;
72 gsoap_witsml1_4_1_1::witsml1__AziRef getAzimuthReference()
const;
74 unsigned int getEastings(
double * eastings)
const;
75 gsoap_witsml1_4_1_1::witsml1__LengthUom getEastingUom()
const;
77 unsigned int getNorthings(
double * northings)
const;
78 gsoap_witsml1_4_1_1::witsml1__LengthUom getNorthingUom()
const;
80 unsigned int getTvds(
double * tvds)
const;
81 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom getTvdUom()
const;
83 void setTrajectoryStations(
84 const unsigned int & trajectoryStationCount,
85 const unsigned int & mdDatumIndex,
86 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
88 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
90 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
93 void setEastingNorthingTrajectoryStations(
94 const unsigned int & trajectoryStationCount,
95 const unsigned int & mdDatumIndex,
96 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
98 const unsigned int & tvdDatumIndex,
99 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
101 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
103 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
105 gsoap_witsml1_4_1_1::witsml1__LengthUom locationUom,
106 double * locationEastingSet,
107 double * locationNorthingSet,
110 void setWestingSouthingTrajectoryStations(
111 const unsigned int & trajectoryStationCount,
112 const unsigned int & mdDatumIndex,
113 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
115 const unsigned int & tvdDatumIndex,
116 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
118 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
120 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
122 gsoap_witsml1_4_1_1::witsml1__LengthUom locationUom,
123 double * locationWestingSet,
124 double * locationSouthingSet,
127 void setProjectedXProjectedYTrajectoryStations(
128 const unsigned int & trajectoryStationCount,
129 const unsigned int & mdDatumIndex,
130 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
132 const unsigned int & tvdDatumIndex,
133 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
135 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
137 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
139 gsoap_witsml1_4_1_1::witsml1__LengthUom locationUom,
140 double * locationProjectedXSet,
141 double * locationProjectedYSet,
144 void setWellbore(
class Wellbore* witsmlWellbore);
146 class Wellbore* getWellbore() {
return wellbore;}
150 soap* getGSoapContext()
const {
return collection->soap;}
152 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys*
>(collection)->trajectory[0]->name;}
154 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys*
>(collection)->trajectory[0]->uid;}
155 time_t getCreation()
const 157 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*>(collection)->trajectory[0]->commonData->dTimCreation)
158 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*>(collection)->trajectory[0]->commonData->dTimCreation);
162 time_t getLastUpdate()
const 164 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*>(collection)->trajectory[0]->commonData->dTimLastChange)
165 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*>(collection)->trajectory[0]->commonData->dTimLastChange);
170 std::vector<epc::Relationship> getAllEpcRelationships()
const;
177 static const char* XML_TAG;
182 gsoap_witsml1_4_1_1::witsml1__cs_USCOREtrajectoryStation* newTrajectoryStation(
183 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* mdDatum,
184 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
186 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
190 gsoap_witsml1_4_1_1::witsml1__cs_USCOREtrajectoryStation* newTrajectoryStation(
191 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* mdDatum,
192 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
194 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* tvdDatum,
195 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
197 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
201 gsoap_witsml1_4_1_1::witsml1__cs_USCOREtrajectoryStation* newTrajectoryStation(
202 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* mdDatum,
203 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
205 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* tvdDatum,
206 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
215 friend void RESQML2_0_1_NS::WellboreTrajectoryRepresentation::setWitsmlTrajectory(
Trajectory * witsmlTraj);
~Trajectory()
Definition: Trajectory.h:56
Definition: WellboreTrajectoryRepresentation.h:30
Definition: Trajectory.h:29
Definition: EpcDocument.h:130
Definition: EpcDocument.h:154
Definition: AbstractObject.h:28
virtual std::string getXmlTag() const
Definition: Trajectory.h:178
Definition: CoordinateReferenceSystem.h:27
Trajectory(gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys *fromGsoap)
Definition: Trajectory.h:51
Definition: Wellbore.h:33