Default constructor.
RouteParameters::RouteParameters(const Esri::ArcGISRuntime::RouteParameters &other)Copy constructor from other RouteParameters.
[noexcept]
RouteParameters::RouteParameters(Esri::ArcGISRuntime::RouteParameters &&other)
Move constructor from other RouteParameters.
[noexcept]
RouteParameters::~RouteParameters()
Destructor.
QStringList RouteParameters::accumulateAttributeNames() constReturns a list of network attribute names to be accumulated with the analysis.
See also setAccumulateAttributeNames().
void RouteParameters::clearPointBarriers()Clears the point barriers that have been set on this RouteParameters.
void RouteParameters::clearPolygonBarriers()Clears the polygon barriers that have been set on this RouteParameters.
void RouteParameters::clearPolylineBarriers()Clears the polyline barriers that have been set on this RouteParameters.
void RouteParameters::clearStops()Clears the stops that have been set on this RouteParameters.
[since Esri::ArcGISRuntime 200.1]
Esri::ArcGISRuntime::RouteParameters RouteParameters::clone() const
Clones the RouteParameters to a new instance.
Returns a new instance of the current RouteParameters.
This function was introduced in Esri::ArcGISRuntime 200.1.
Esri::ArcGISRuntime::UnitSystem RouteParameters::directionsDistanceUnits() constReturns the directions distance text units.
A directions distance text units. Describes the unit of measurement for the length of directions.
See also setDirectionsDistanceUnits().
QString RouteParameters::directionsLanguage() constReturns the language of the resulting route directions.
See also setDirectionsLanguage().
Esri::ArcGISRuntime::DirectionsStyle RouteParameters::directionsStyle() constReturns the directions style.
A directions style. The directions setting to generate directions designed for different kind of applications.
See also setDirectionsStyle().
bool RouteParameters::isEmpty() constReturns true
if this RouteParameters is empty.
Returns a bool
that determines whether the analysis should reorder stops to find the optimized route.
The default is false
.
If the parameter value is false
, the analysis returns a route that visits stops in the order you define. The order you define is the order that the stops are encountered in the array of stops in the RouteParameters. For example, the Stop at index zero is first, index 1 is second, and so on. If the parameter value is true
, the analysis disregards the order you defined, and finds the best order to visit the stops. You can elect to preserve the first and/or the last stops while allowing the service to reorder intermediary stops by setting setPreserveFirstStop and setPreserveLastStop.
Note: A value of true
causes the analysis to switch from solving a shortest-path problem to a traveling salesperson problem (TSP). Solving a TSP is computer-intensive operation and if using an online subscription-based service (e.g. ArcGIS Online) may incur additional service credits per route.
Returns a bool
that determines whether the analysis should preserve the first stop.
This parameter is applicable only if isFindBestSequence is true
.
Returns a bool
that determines whether the analysis should preserve the last stop.
This parameter is applicable only if isFindBestSequence is true
.
Returns a bool
that determines whether directions are returned with the RouteResult.
Returns a bool
that determines whether point barriers are returned with the RouteResult.
Reusing the list of PointBarriers from the RouteResult (as opposed to using the original list of PointBarriers) can increase the speed of any subsequent route calculations.
bool RouteParameters::isReturnPolygonBarriers() constReturns a bool
that determines whether polygon barriers are returned with the RouteResult.
Reusing the PolygonBarriers from the RouteResult (as opposed to using the original PolygonBarriers) can increase the speed of any following Route calculations. This is particularly true for complex polygons.
bool RouteParameters::isReturnPolylineBarriers() constReturns a bool
that determines whether polyline barriers are returned with the RouteResult.
Reusing the list of PolylineBarriers from the RouteResult (as opposed to using the original PolylineBarriers) can increase the speed of any following Route calculations. This is particularly true for complex polylines.
bool RouteParameters::isReturnRoutes() constReturns a bool
that determines whether routes are returned with the RouteResult.
Returns a bool
that determines whether stops are returned with the RouteResult.
Returns the output spatial reference.
See also setOutputSpatialReference().
Esri::ArcGISRuntime::RouteShapeType RouteParameters::routeShapeType() constReturns the output shape type for a route.
See also setRouteShapeType().
QString RouteParameters::searchWhereClause(const QString &sourceName) constReturns the search WHERE clause from the specified sourceName.
See also setSearchWhereClause().
void RouteParameters::setAccumulateAttributeNames(const QStringList &accumulateAttributeNames)Sets a list of accumulateAttributeNames to be returned.
See also accumulateAttributeNames().
void RouteParameters::setDirectionsDistanceUnits(Esri::ArcGISRuntime::UnitSystem directionsDistanceUnits)Sets the directionsDistanceUnits to directionsDistanceUnits.
See also directionsDistanceUnits.
void RouteParameters::setDirectionsLanguage(const QString &directionsLanguage)Sets the directionsLanguage of the resulting route directions.
See also directionsLanguage.
void RouteParameters::setDirectionsStyle(Esri::ArcGISRuntime::DirectionsStyle directionsStyle)Sets the directionsStyle of the resulting route directions.
See also directionsStyle.
void RouteParameters::setFindBestSequence(bool findBestSequence)Sets the findBestSequence to findBestSequence.
See also isFindBestSequence.
void RouteParameters::setOutputSpatialReference(const Esri::ArcGISRuntime::SpatialReference &outputSpatialReference)Sets the outputSpatialReference.
See also RouteParameters::outputSpatialReference.
void RouteParameters::setPointBarriers(const QList<Esri::ArcGISRuntime::PointBarrier> &pointBarriers)Sets the point barriers.
Sets the point barriers from the features in specified feature table.
The feature table can be either local or online. The feature table must be of geometry type point. Attributes from the feature table are mapped to the properties on the barrier objects generated from the specified feature table. The where clause set in the query parameters will be applied to the feature table. If an online feature table is specified the table will not be queried for features until Solve is called.
See also FeatureTable.
void RouteParameters::setPolygonBarriers(const QList<Esri::ArcGISRuntime::PolygonBarrier> &polygonBarriers)Sets the polygon barriers.
Sets the polygon barriers from the features in specified feature table.
The feature table can be either local or online. The feature table must be of geometry type polygon. Attributes from the feature table are mapped to the properties on the barrier objects generated from the specified feature table. The where clause set in the query parameters will be applied to the feature table. If an online feature table is specified the table will not be queried for features until Solve is called.
See also FeatureTable.
void RouteParameters::setPolylineBarriers(const QList<Esri::ArcGISRuntime::PolylineBarrier> &polylineBarriers)Sets the polyline barriers.
Sets the polyline barriers from the features in specified feature table.
The feature table can be either local or online. The feature table must be of geometry type polyline. Attributes from the feature table are mapped to the properties on the barrier objects generated from the specified feature table. The where clause set in the query parameters will be applied to the feature table. If an online feature table is specified the table will not be queried for features until Solve is called.
See also FeatureTable.
void RouteParameters::setPreserveFirstStop(bool preserveFirstStop)Sets whether the analysis should preserveFirstStop.
See also isPreserveFirstStop.
void RouteParameters::setPreserveLastStop(bool preserveLastStop)Sets whether the analysis should preserveLastStop.
See also isPreserveLastStop.
void RouteParameters::setReturnDirections(bool returnDirections)Sets whether to returnDirections with the RouteResult.
See also isReturnDirections.
void RouteParameters::setReturnPointBarriers(bool returnPointBarriers)Sets whether to returnPointBarriers with the RouteResult.
See also isReturnPointBarriers.
void RouteParameters::setReturnPolygonBarriers(bool returnPolygonBarriers)Sets whether to returnPolygonBarriers with the RouteResult.
See also isReturnPolygonBarriers.
void RouteParameters::setReturnPolylineBarriers(bool returnPolylineBarriers)Sets whether to returnPolylineBarriers with the RouteResult.
See also isReturnPolylineBarriers.
void RouteParameters::setReturnRoutes(bool returnRoutes)Sets whether to returnRoutes with the RouteResult.
See also isReturnRoutes.
void RouteParameters::setReturnStops(bool returnStops)Sets the returnStops with the RouteResult.
See also isReturnStops.
void RouteParameters::setRouteShapeType(Esri::ArcGISRuntime::RouteShapeType routeShapeType)Sets the output routeShapeType for a route.
See also routeShapeType.
void RouteParameters::setSearchWhereClause(const QString &sourceName, const QString &searchWhereClause)Sets a search where clause on the specified network dataset's source feature class.
Only features satisfying the where clause for the specified feature class will be used to locate stops on the network during the solve operation. If a where clause is not set all network features are used.
See also searchWhereClause().
void RouteParameters::setStartTime(const QDateTime &startTime)Sets the startTime of the route in UTC time.
See also startTime().
void RouteParameters::setStops(const QList<Esri::ArcGISRuntime::Stop> &stops)Sets stops.
A minimum of 2 stops are required to complete a RouteTask.
void RouteParameters::setStopsWithFeatureTable(Esri::ArcGISRuntime::ArcGISFeatureTable *featureTable, const Esri::ArcGISRuntime::QueryParameters &queryParameters)Sets the stops from the features in specified feature table.
The feature table can be either local or online. The feature table must be of geometry type point. Attributes from the feature table are mapped to the properties on the stops objects generated from the specified feature table. The where clause set in the query parameters will be applied to the feature table. If an online feature table is specified the features will not be queried until Solve is called.
See also FeatureTable.
void RouteParameters::setTravelMode(const Esri::ArcGISRuntime::TravelMode &travelMode)Sets the travelMode.
See also travelMode.
QDateTime RouteParameters::startTime() constReturns the start time of the route in UTC time.
See also setStartTime().
Esri::ArcGISRuntime::TravelMode RouteParameters::travelMode() constReturns the travel mode.
See also setTravelMode().
[noexcept]
Esri::ArcGISRuntime::RouteParameters &RouteParameters::operator=(Esri::ArcGISRuntime::RouteParameters &&other)
Move operator from other RouteParameters.
Esri::ArcGISRuntime::RouteParameters &RouteParameters::operator=(const Esri::ArcGISRuntime::RouteParameters &other)Assignment operator from other RouteParameters.
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