MSFRouteMatchingResult
Objective-C
@interface MSFRouteMatchingResult : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFRouteMatchingResult : NSObject
A class that defines list of matching points from road network.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;Swift
func isEqual(_ object: Any!) -> BoolParameters
objectThe reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UIntReturn Value
The hash value of this object.
-
Constructs a new RouteMatchingResult instance from projection and matched points.
Declaration
Objective-C
- (id)initWithProjection:(MSFProjection *)projection matchingPoints:(MSFRouteMatchingPointVector *)matchingPoints matchingEdges:(MSFRouteMatchingEdgeVector *)matchingEdges rawResult:(NSString *)rawResult;Swift
init!(projection: MSFProjection!, matchingPoints: MSFRouteMatchingPointVector!, matchingEdges: MSFRouteMatchingEdgeVector!, rawResult: String!)Parameters
projectionThe projection of the routing result (same as the request).
matchingPointsThe matched points corresponding to the requested points snapped to road network.
matchingEdgesThe matched edges that are referenced through matching points.
-
Returns the projection of the points in the result.
Declaration
Objective-C
- (MSFProjection *)getProjection;Swift
func getProjection() -> MSFProjection!Return Value
The projection of the result.
-
Returns the point list of the result. The list contains all the points from the request snapped to the road network.
Return Value
The point list of the result.
-
Returns the list with details of the matched edges.
Declaration
Objective-C
- (MSFRouteMatchingEdgeVector *)getMatchingEdges;Swift
func getMatchingEdges() -> MSFRouteMatchingEdgeVector!Return Value
The list with details of the matched edges.
-
Returns the list with details of the matched points.
Declaration
Objective-C
- (MSFRouteMatchingPointVector *)getMatchingPoints;Swift
func getMatchingPoints() -> MSFRouteMatchingPointVector!Return Value
The list with details of the matched points.
-
Returns raw result
Declaration
Objective-C
- (NSString *)getRawResult;Swift
func getRawResult() -> String! -
Creates a string representation of this result object, useful for logging.
Declaration
Objective-C
- (NSString *)description;Swift
func description() -> String!Return Value
The string representation of this result object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()