MSFRouteMatchingPoint
Objective-C
@interface MSFRouteMatchingPoint : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFRouteMatchingPoint : NSObject
A class that defines a route matching result point.
-
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 RouteMatchingPoint with default values.
Declaration
Objective-C
- (id)init;Swift
init!() -
Constructs a new RouteMatchingPoint from position, type and edge index.
Declaration
Objective-C
- (id)initWithPos:(MSFMapPos *)pos type:(enum MSFRouteMatchingPointType)type edgeIndex:(int)edgeIndex;Swift
init!(pos: MSFMapPos!, type: MSFRouteMatchingPointType, edgeIndex: Int32)Parameters
posThe position of the point.
typeThe type of the matching point.
edgeIndexThe index of the corresponding RouteMatchingEdge instance.
-
Returns the type of the matching point.
Declaration
Objective-C
- (enum MSFRouteMatchingPointType)getType;Swift
func getType() -> MSFRouteMatchingPointTypeReturn Value
The type of the matching point.
-
Returns the corresponding matching edge index in the matching result.
Declaration
Objective-C
- (int)getEdgeIndex;Swift
func getEdgeIndex() -> Int32Return Value
The corresponding matching edge index in the matching result.
-
Creates a string representation of this object, useful for logging.
Declaration
Objective-C
- (NSString *)description;Swift
func description() -> String!Return Value
The string representation of this object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()