NTRouteMatchingResult
@interface NTRouteMatchingResult : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
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;
Parameters
object
The reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;
Return Value
The hash value of this object.
-
Constructs a new RouteMatchingResult instance from projection and matched points.
Declaration
Objective-C
- (id)initWithProjection:(NTProjection *)projection matchingPoints:(NTRouteMatchingPointVector *)matchingPoints matchingEdges:(NTRouteMatchingEdgeVector *)matchingEdges;
Parameters
projection
The projection of the routing result (same as the request).
matchingPoints
The matched points corresponding to the requested points snapped to road network.
matchingEdges
The matched edges that are referenced through matching points.
-
Returns the projection of the points in the result.
Declaration
Objective-C
- (NTProjection *)getProjection;
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.
Declaration
Objective-C
- (NTMapPosVector *)getPoints;
Return Value
The point list of the result.
-
Returns the list with details of the matched edges.
Declaration
Objective-C
- (NTRouteMatchingEdgeVector *)getMatchingEdges;
Return Value
The list with details of the matched edges.
-
Returns the list with details of the matched points.
Declaration
Objective-C
- (NTRouteMatchingPointVector *)getMatchingPoints;
Return Value
The list with details of the matched points.
-
Creates a string representation of this result object, useful for logging.
Declaration
Objective-C
- (NSString *)description;
Return Value
The string representation of this result object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;