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!) -> Bool

    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;

    Swift

    func hash() -> UInt

    Return 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

    pos

    The position of the point.

    type

    The type of the matching point.

    edgeIndex

    The index of the corresponding RouteMatchingEdge instance.

  • Returns the position of the matching point.

    Declaration

    Objective-C

    - (MSFMapPos *)getPos;

    Swift

    func getPos() -> MSFMapPos!

    Return Value

    The position of the matching point.

  • Returns the type of the matching point.

    Declaration

    Objective-C

    - (enum MSFRouteMatchingPointType)getType;

    Swift

    func getType() -> MSFRouteMatchingPointType

    Return 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() -> Int32

    Return 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()