Top | ![]() |
![]() |
![]() |
![]() |
The VikRoutingEngine class is both the interface and the base class for the hierarchie of routing engines.
gboolean vik_routing_engine_find (VikRoutingEngine *self
,VikTrwLayer *vtl
,struct LatLon start
,struct LatLon end
);
Retrieve a route between two coordinates.
gboolean vik_routing_engine_refine (VikRoutingEngine *self
,VikTrwLayer *vtl
,VikTrack *vt
);
Retrieve a route refining the vt
track/route.
A refined route is computed from vt
.
The route is computed from first trackpoint to last trackpoint,
and going via all intermediate trackpoints.
gchar * vik_routing_engine_get_url_from_directions (VikRoutingEngine *self
,const gchar *start
,const gchar *end
);
Compute the URL used with the acquire framework.
gchar *
vik_routing_engine_get_format (VikRoutingEngine *self
);
GPSbabel's Format of result.
gboolean
vik_routing_engine_supports_direction (VikRoutingEngine *self
);
gboolean
vik_routing_engine_supports_refine (VikRoutingEngine *self
);
“format”
property “format” char *
The format of the output (see gpsbabel).
Owner: VikRoutingEngine
Flags: Read / Write / Construct Only
Default value: "<no-set>"
“id”
property “id” char *
The identifier of the routing engine.
Owner: VikRoutingEngine
Flags: Read / Write / Construct Only
Default value: "<no-set>"