SITIndoorRoute Class Reference
Inherits from | NSObject |
---|---|
Declared in | SITIndoorRoute.h |
Overview
Class that represents a the route between two SITIndoorPoints of a SITIndoorBuilding
You should not use try to instantiate objects of this class. Instead you should use the ones returned with the execution of shortestRouteFromIndoorPoint:toIndoorPoint: in SITGraph objects
steps
An array of SITIndoorRouteSteps
@property (nonatomic, readonly) NSMutableArray *steps
Declared In
SITIndoorRoute.h
– length
Calculate the total distance of the SITIndoorRoute considering all the steps
- (float)length
Return Value
float value in meters.
Declared In
SITIndoorRoute.h
– isValid
Determines if the route is a valid one
- (BOOL)isValid
Return Value
BOOL value indicating if the route is valid (YES) or not (NO).
Declared In
SITIndoorRoute.h