java.lang.Object | |
↳ | com.carto.routing.RouteMatchingPoint |
A class that defines a route matching result point.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RouteMatchingPoint()
Constructs a new RouteMatchingPoint with default values.
| |||||||||||
RouteMatchingPoint(MapPos pos, RouteMatchingPointType type, int edgeIndex)
Constructs a new RouteMatchingPoint from position, type and edge index.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
int |
getEdgeIndex()
Returns the corresponding matching edge index in the matching result.
| ||||||||||
MapPos |
getPos()
Returns the position of the matching point.
| ||||||||||
RouteMatchingPointType |
getType()
Returns the type of the matching point.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
String |
toString()
Creates a string representation of this object, useful for logging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new RouteMatchingPoint with default values.
Constructs a new RouteMatchingPoint from position, type and edge index.
pos | The position of the point. |
---|---|
type | The type of the matching point. |
edgeIndex | The index of the corresponding RouteMatchingEdge instance. |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the corresponding matching edge index in the matching result.
Returns the position of the matching point.
Returns the type of the matching point.
Returns the hash value of this object.
Creates a string representation of this object, useful for logging.