java.lang.Object | |
↳ | com.carto.routing.RouteMatchingResult |
A class that defines list of matching points from road network.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RouteMatchingResult(Projection projection, RouteMatchingPointVector matchingPoints, RouteMatchingEdgeVector matchingEdges)
Constructs a new RouteMatchingResult instance from projection and matched points.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
RouteMatchingEdgeVector |
getMatchingEdges()
Returns the list with details of the matched edges.
| ||||||||||
RouteMatchingPointVector |
getMatchingPoints()
Returns the list with details of the matched points.
| ||||||||||
MapPosVector |
getPoints()
Returns the point list of the result.
| ||||||||||
Projection |
getProjection()
Returns the projection of the points in the result.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
String |
toString()
Creates a string representation of this result object, useful for logging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new RouteMatchingResult instance from projection and matched points.
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. |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the list with details of the matched edges.
Returns the list with details of the matched points.
Returns the point list of the result. The list contains all the points from the request snapped to the road network.
Returns the projection of the points in the result.
Returns the hash value of this object.
Creates a string representation of this result object, useful for logging.