Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Routes
RouteSelectionHelper.h
1
// Copyright eeGeo Ltd 2016, All Rights Reserved
2
3
#pragma once
4
5
#include <vector>
6
#include "Route.h"
7
8
namespace
Eegeo
9
{
10
namespace
Routes
11
{
12
class
RouteSelectionHelper
13
{
14
public
:
15
struct
RouteHitTestResult
{
16
int
routeIndex;
17
float
distance;
18
float
paramAtClosestPoint;
19
int
pointIndexBeforeClosestPoint;
20
RouteHitTestResult
(
int
index,
float
dist,
float
param,
float
pointIndex)
21
{
22
routeIndex = index;
23
distance = dist;
24
paramAtClosestPoint = param;
25
pointIndexBeforeClosestPoint = pointIndex;
26
}
27
};
28
static
RouteHitTestResult
GetRouteClosestToPoint(
const
std::vector<const Eegeo::Routes::Route*>& routes,
Eegeo::dv3
& ecefPoint);
29
};
30
}
31
}
32
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1