get
Retrieves a list representing the path from the origin to the specified point using the predecessors stored in the access map.
Return
a list of points forming the path from the origin to the specified point. An empty list is returned if no path exists.
Parameters
point
The point to which you need the path from the origin.