-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathXOrthoLaserRxp.cpp
More file actions
46 lines (43 loc) · 1.44 KB
/
XOrthoLaserRxp.cpp
File metadata and controls
46 lines (43 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "XOrthoLaserRxp.h"
#include "XOrthoLaserChantier.h"
#include <limits>
//-----------------------------------------------------------------------------
XOrthoLaserRxp::XOrthoLaserRxp(XOrthoLaserChantier* parent,std::string name, uint32 date)
{
m_parent = parent;
m_rxpName = name;
m_date = date;
m_hmin = std::numeric_limits<float>::max();
m_hmax = 0.;
// NO TRAJ m_solution = NULL;
}
//-----------------------------------------------------------------------------
XOrthoLaserRxp::~XOrthoLaserRxp(void)
{
}
//-----------------------------------------------------------------------------
// NO TRAJ void XOrthoLaserRxp::Solution(ProjPostProcessSolution* sol)
//{
// m_solution= sol;
//}
//-----------------------------------------------------------------------------
// NO TRAJ ProjPostProcessSolution* XOrthoLaserRxp::Solution()
//{
// return m_solution;
//}
//-----------------------------------------------------------------------------
void XOrthoLaserRxp::AddTime(float time)
{
m_hmin = XMin(m_hmin, time);
m_hmax = XMax(m_hmax, time);
}
//-----------------------------------------------------------------------------
float XOrthoLaserRxp::GpsStartTimeInDay()
{
return m_hmin + m_parent->CorOrthoLaserTime2Gps(Date());
}
//-----------------------------------------------------------------------------
float XOrthoLaserRxp::GpsEndTimeInDay()
{
return m_hmax + m_parent->CorOrthoLaserTime2Gps(Date());
}