3 #include "PointOnPath.h"
13 double fractionAlongRouteSection,
14 double fractionAlongRoute,
15 int routeSectionIndex,
18 : m_pointOnRouteStep(pointOnRouteStep)
19 , m_fractionAlongRouteSection(fractionAlongRouteSection)
20 , m_fractionAlongRoute(fractionAlongRoute)
21 , m_routeSectionIndex(routeSectionIndex)
22 , m_routeStepIndex(routeStepIndex)
23 , m_validResult(validResult)
29 return PointOnRoute(
Eegeo::Geometry::Paths::PointOnPath(Eegeo::Space::LatLong::FromDegrees(0, 0), Eegeo::Space::LatLong::FromDegrees(0, 0), 0.0, 0.0, 0, 0), 0.0, 0.0, 0, 0,
false);
33 double GetFractionAlongRouteStep()
const {
return m_pointOnRouteStep.GetFractionAlongPath(); }
34 double GetFractionAlongRouteSection()
const {
return m_fractionAlongRouteSection; }
35 double GetFractionAlongRoute()
const {
return m_fractionAlongRoute; }
36 int GetRouteSectionIndex()
const {
return m_routeSectionIndex; }
37 int GetRouteStepIndex()
const {
return m_routeStepIndex; }
38 bool IsValidResult()
const {
return m_validResult; }
42 double m_fractionAlongRouteSection;
43 double m_fractionAlongRoute;
44 int m_routeSectionIndex;