-
Notifications
You must be signed in to change notification settings - Fork 12
class `bf::Result` and related classes
Boyin Chen edited this page Jan 26, 2018
·
1 revision
This class is used for representing the calculation result.
-
std::string route
: a route string, e.g.ZBAA SID JB W59 HG A461 DAPRO W612 MOMRA W615 NIVEM R473 BEMAG V5 ATAGA STAR ZGGG
-
std::vector<bf::Leg> legs
: each legs in this route -
std::vector<bf::WayPoint> waypoints
: each waypoints (VOR, NDB, FIX, etc.) in this route
-
float distance
: the distance between two waypoints -
std::string from
: the name of a waypoint (e.g.JB
) -
std::string to
: the name of a waypoint -
std::string route
: the name of the route connecting waypoints above (e.g.A461
)
A class stores the name and coordinate of a waypoint.
std::string name
bf::Coordinate coord
A class represents a coordinate on the earth using latitude and longitude.
float latitude
float longitude
-
float bf::Coordinate::DistanceFrom(bf::Coordinate x)
: returning the distance between itself andx