A class that contains the output from a solving closest task for a single result. More...
Member Function Documentation ClosestFacilityRoute::ClosestFacilityRoute()Default constructor.
Warning: This is for convenience only and will construct an empty object.
ClosestFacilityRoute::ClosestFacilityRoute(const Esri::ArcGISRuntime::ClosestFacilityRoute &other)Copy constructor from other ClosestFacilityRoute.
[noexcept]
ClosestFacilityRoute::ClosestFacilityRoute(Esri::ArcGISRuntime::ClosestFacilityRoute &&other)
Move constructor from other ClosestFacilityRoute.
[noexcept]
ClosestFacilityRoute::~ClosestFacilityRoute()
Destructor.
Esri::ArcGISRuntime::CurbApproach ClosestFacilityRoute::arrivalCurbApproach() constReturns the departure curb approach populated by the solver.
The curb approach is dependent on incidents' and facilities' curb approaches.
Default value CurbApproach::EitherSide will be returned on error.
double ClosestFacilityRoute::cost(const QString &attributeName) constReturns the cost of a given attributeName.
Example attribute names include "Minutes" or "TravelTime".
Esri::ArcGISRuntime::CurbApproach ClosestFacilityRoute::departureCurbApproach() constReturns the departure curb approach populated by the solver.
The curb approach is dependent on incidents' and facilities' curb approaches.
Esri::ArcGISRuntime::DirectionManeuverListModel *ClosestFacilityRoute::directionManeuvers(QObject *parent = nullptr) constReturns a DirectionManeuverListModel of the direction maneuvers.
Specify an optional parent to ensure that the list model persists if you want it to have lifetime beyond this ClosestFacilityRoute object.
The list of turn-by-turn directions for this route. Can be empty array in case if ClosestFacilityParameters::isReturnDirections is false
.
See also ClosestFacilityParameters::isReturnDirections.
QDateTime ClosestFacilityRoute::endTime() constReturns the end time of a ClosestFacilityRoute in UTC time.
A empty QDateTime if departure/arrival time was not specified in ClosestFacilityParameters.
See also ClosestFacilityParameters.
double ClosestFacilityRoute::endTimeShift() constReturns the value of time zone shift for end time in minutes.
bool ClosestFacilityRoute::isEmpty() constReturns true
if this ClosestFacilityRoute is empty.
Returns the geometry of the route to the closest facility.
The geometry for the full route (polyline) in case if ClosestFacilityParameters::isReturnRoutes is true
.
Returns the start time of a ClosestFacilityRoute in UTC time.
An empty QDateTime if departure/arrival time was not specified in ClosestFacilityParameters.
See also ClosestFacilityParameters.
double ClosestFacilityRoute::startTimeShift() constReturns the value of time zone shift for start time in minutes.
Value of the time zone shift for start time, in minutes.
See also QDateTime and startTime.
double ClosestFacilityRoute::totalLength() constReturns the total length (distance) of the ClosestFacilityRoute.
The returned value's units is in meters.
double ClosestFacilityRoute::totalTime() constReturns the total time of a ClosestFacilityRoute in minutes.
This includes the travel time, as well as any additional time from specified incident or facility costs.
In order to get this value, time attribute should be set in as impedance or accumulate attribute in parameters object.
double ClosestFacilityRoute::travelTime() constReturns the travel time of a ClosestFacilityRoute in minutes.
This only includes time of travel.
Travel time is total amount of travel time exclude added minutes from incident/facility added costs (if specified).
[noexcept]
Esri::ArcGISRuntime::ClosestFacilityRoute &ClosestFacilityRoute::operator=(Esri::ArcGISRuntime::ClosestFacilityRoute &&other)
Move operator from other ClosestFacilityRoute.
Esri::ArcGISRuntime::ClosestFacilityRoute &ClosestFacilityRoute::operator=(const Esri::ArcGISRuntime::ClosestFacilityRoute &other)Assignment operator from other ClosestFacilityRoute.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4