|
| virtual int | GetnPoints (void) |
| |
| wxString | IsPointNameValid (RoutePoint *pRP, const wxString &name) const |
| |
| void | AddPoint (RoutePoint *pNewPoint, bool b_rename_in_sequence=true, bool b_deferBoxCalc=false) |
| |
| void | InsertPointAndSegment (RoutePoint *pNewPoint, int insert_after, bool b_rename_in_sequence=true, bool b_deferBoxCalc=false) |
| |
| void | AddPointAndSegment (RoutePoint *pNewPoint, bool b_rename_in_sequence=true, bool b_deferBoxCalc=false) |
| |
| RoutePoint * | GetPoint (int nPoint) |
| |
| RoutePoint * | GetPoint (const wxString &guid) |
| |
| int | GetIndexOf (RoutePoint *prp) |
| |
| RoutePoint * | InsertPointBefore (RoutePoint *pRP, double rlat, double rlon, bool bRenamePoints=false) |
| |
| RoutePoint * | InsertPointAfter (RoutePoint *pRP, double rlat, double rlon, bool bRenamePoints=false) |
| |
| RoutePoint * | GetLastPoint () |
| |
| void | DeletePoint (RoutePoint *rp, bool bRenamePoints=false) |
| |
| void | RemovePoint (RoutePoint *rp, bool bRenamePoints=false) |
| |
| void | DeSelectRoute () |
| |
| void | FinalizeForRendering () |
| |
| void | UpdateSegmentDistance (RoutePoint *prp0, RoutePoint *prp, double planspeed=-1.0) |
| | Updates the navigation data for a single route segment between two waypoints.
|
| |
| void | UpdateSegmentDistances (double planspeed=-1.0) |
| |
| LLBBox & | GetBBox () |
| |
| void | SetHiLite (int width) |
| |
| void | Reverse (bool bRenamePoints=false) |
| |
|
void | RebuildGUIDList (void) |
| |
| void | RenameRoutePoints () |
| |
| void | ReloadRoutePointIcons () |
| |
| wxString | GetNewMarkSequenced (void) |
| |
| void | AssembleRoute () |
| |
| bool | IsEqualTo (Route *ptargetroute) |
| |
| void | CloneRoute (Route *psourceroute, int start_nPoint, int end_nPoint, const wxString &suffix, const bool duplicate_first_point=false) |
| |
| void | ClearHighlights (void) |
| |
| void | SetVisible (bool visible=true, bool includeWpts=true) |
| |
| void | SetListed (bool visible=true) |
| |
| bool | IsVisible () |
| |
| bool | IsListed () |
| |
| bool | IsActive () |
| |
| bool | IsSelected () |
| |
| bool | ContainsSharedWP () |
| |
| void | SetSharedWPViz (bool sharedWPVIZ) |
| |
| bool | GetSharedWPViz () |
| |
| double | GetRouteArrivalRadius (void) |
| |
| void | SetRouteArrivalRadius (double radius) |
| |
| void | SetDepartureDate (const wxDateTime &dt) |
| | Set the departure time of the route.
|
| |
| wxString | GetName () const |
| |
| wxString | GetTo () const |
| |
| wxString | GetGUID () const |
| |
| void | ShowWaypointNames (bool bshow) |
| |
| bool | AreWaypointNamesVisible () |
| |
Represents a navigational route in the navigation system.
The Route class manages an ordered list of RoutePoints that define a navigational path between waypoints. It provides functionality for route creation, manipulation, and navigation calculations such as distances, bearings, and estimated times.
A Route can be:
- Active or inactive for navigation
- Visible or hidden on the chart
- Temporary or persistent
- Part of a layer or standalone
The class supports various route operations like adding, inserting, or removing waypoints, calculating segment distances, and handling waypoint sharing between multiple routes. It also maintains navigation-related attributes like planned speeds, departure times, and style attributes for rendering.
Definition at line 96 of file route.h.