NTRouteMatchingPoint


@interface NTRouteMatchingPoint : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

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;

    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 RouteMatchingPoint with default values.

    Declaration

    Objective-C

    - (id)init;
  • Constructs a new RouteMatchingPoint from position, type and edge index.

    Declaration

    Objective-C

    - (id)initWithPos:(NTMapPos *)pos
                 type:(enum NTRouteMatchingPointType)type
            edgeIndex:(int)edgeIndex;

    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

    - (NTMapPos *)getPos;

    Return Value

    The position of the matching point.

  • Returns the type of the matching point.

    Declaration

    Objective-C

    - (enum NTRouteMatchingPointType)getType;

    Return Value

    The type of the matching point.

  • Returns the corresponding matching edge index in the matching result.

    Declaration

    Objective-C

    - (int)getEdgeIndex;

    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;

    Return Value

    The string representation of this object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;