ArcGIS Runtime SDK for macOS: AGSStop Class Reference
ArcGIS Runtime SDK for macOS  100.5
AGSStop Class Reference

Description

Instances of this class represent stops - locations that must be visited along a route. Stops are part of AGSRouteParameters which is used as input to solveRouteWithParameters:completion: (AGSRouteTask). You need atleast two stops to compute a route, although you can have more.

Since
100
Inheritance diagram for AGSStop:
AGSObject

Instance Methods

(double) - addedCostForCostAttribute:
 
(double) - cumulativeCostForCostAttribute:
 
(instancetype) - initWithPoint:
 
(instancetype) - NS_UNAVAILABLE
 
(void) - setAddedCost:forCostAttribute:
 

Class Methods

(instancetype) + stopWithPoint:
 

Properties

AGSCurbApproach arrivalCurbApproach
 
NSDate * arrivalTime
 
double arrivalTimeShift
 
AGSCurbApproach curbApproach
 
double currentBearing
 
double currentBearingTolerance
 
AGSCurbApproach departureCurbApproach
 
NSDate * departureTime
 
double departureTimeShift
 
double distanceToNetworkLocation
 
AGSPointgeometry
 
AGSLocationStatus locationStatus
 
NSString * name
 
double navigationLatency
 
double navigationSpeed
 
AGSNetworkLocationnetworkLocation
 
NSString * routeName
 
NSInteger sequence
 
AGSStopType stopType
 
NSDate * timeWindowEnd
 
NSDate * timeWindowStart
 
double violationTime
 
double waitTime
 

Method Documentation

§ addedCostForCostAttribute:()

- (double) addedCostForCostAttribute: (NSString *)  attributeName

Gets the added cost attribute value for the given attribute

Parameters
attributeNameof the attribute
Returns
added cost of the attribute
Since
100

§ cumulativeCostForCostAttribute:()

- (double) cumulativeCostForCostAttribute: (NSString *)  attributeName

Gets the cumulative cost attribute value for the given attribute

Parameters
attributeNameof the attribute
Returns
cumulative cost of the attribute
Since
100
See also
AGSRouteTaskInfo::costAttributes for a list of attributes

§ initWithPoint:()

- (instancetype) initWithPoint: (AGSPoint *)  point

Initialize the stop using the provided location

Parameters
pointwhere the stop should be located
Returns
A new stop
Since
100

§ setAddedCost:forCostAttribute:()

- (void) setAddedCost: (double)  addedCost
forCostAttribute: (NSString *)  attributeName 

Sets the added cost attribute value for the given attribute

Parameters
addedCostfor the attribute
attributeNameof the attribute
Since
100
See also
AGSRouteTaskInfo::costAttributes for a list of attributes

§ stopWithPoint:()

+ (instancetype) stopWithPoint: (AGSPoint *)  point

Initialize the stop using the provided location

Parameters
pointwhere the stop should be located
Returns
A new stop
Since
100

Property Documentation

§ arrivalCurbApproach

- (AGSCurbApproach) arrivalCurbApproach
readnonatomicassign

Specifies the direction a vehicle arrives at this stop.

Since
100

§ arrivalTime

- (NSDate*) arrivalTime
readnonatomicstrong

Time of arrival at the stop.

Since
100

§ arrivalTimeShift

- (double) arrivalTimeShift
readnonatomicassign

Time zone shift in minutes for the arrival time.

Since
100

§ curbApproach

- (AGSCurbApproach) curbApproach
readwritenonatomicassign

Specifies the direction a vehicle may arrive at or depart from the stop. For example, a school bus must approach and depart a school from its door side so that students entering/exiting the bus will not have to cross the street.

Since
100

§ currentBearing

- (double) currentBearing
readwritenonatomicassign

The current bearing in degrees.

Since
100

§ currentBearingTolerance

- (double) currentBearingTolerance
readwritenonatomicassign

The current bearing tolerance in degrees.

Since
100

§ departureCurbApproach

- (AGSCurbApproach) departureCurbApproach
readnonatomicassign

Specifies the direction a vehicle departs from the stop.

Since
100

§ departureTime

- (NSDate*) departureTime
readnonatomicstrong

Time of departure from the stop.

Since
100

§ departureTimeShift

- (double) departureTimeShift
readnonatomicassign

Time zone shift in minutes for the departure time.

Since
100

§ distanceToNetworkLocation

- (double) distanceToNetworkLocation
readnonatomicassign

The distance to the closest location on the underlying network in meters.

Since
100
See also
networkLocation

§ geometry

- (AGSPoint*) geometry
readwritenonatomicstrong

Location the stop should be placed.

Since
100

§ locationStatus

- (AGSLocationStatus) locationStatus
readnonatomicassign

The status of the stop's location on the underlying network.

Since
100
See also
networkLocation

§ name

- (NSString*) name
readwritenonatomiccopy

Name of the stop

Since
100

§ navigationLatency

- (double) navigationLatency
readwritenonatomicassign

The navigation latency in seconds.

Since
100

§ navigationSpeed

- (double) navigationSpeed
readwritenonatomicassign

The navigation speed in meters per second.

Since
100

§ networkLocation

- (AGSNetworkLocation*) networkLocation
readwritenonatomicstrong

The location on the underlying transportation network where the stop is located.

Since
100
See also
locationStatus

§ routeName

- (NSString*) routeName
readwritenonatomiccopy

Name of the route to which this stop belongs. You can use this to group stops into separate routes.

Since
100

§ sequence

- (NSInteger) sequence
readnonatomicassign

The order in which stop is visited along the route. A value of 1 implies it is the first stop, and so on.

Since
100

§ stopType

- (AGSStopType) stopType
readwritenonatomicassign

Type of stop

Since
100.1

§ timeWindowEnd

- (NSDate*) timeWindowEnd
readwritenonatomicstrong

The ending time of a permissible time window for the stop. The route will attempt to visit the stop only within its time window, if possible. Can be nil if you don't want to specify a time window constraint.

Since
100
See also
#localTimeWindowStart

§ timeWindowStart

- (NSDate*) timeWindowStart
readwritenonatomicstrong

The begining time of a permissible time window for the stop. The route will attempt to visit the stop only within its time window, if possible. Can be nil if you don't want to specify a time window constraint.

Since
100
See also
#localTimeWindowEnd

§ violationTime

- (double) violationTime
readnonatomicassign

The time (in minutes) by which the route arrives later than the permissible time window for the stop. This is the difference between #localArrivalTime and #localTimeWindowEnd

Since
100

§ waitTime

- (double) waitTime
readnonatomicassign

The time (in minutes) spent at the stop waiting for the time window to open when the route arrives early This is the difference between #localArrivalTime and #localTimeWindowStart

Since
100