![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This query object is returned by the find(...) methods. It provides read-only information about a query made on the network.
The client is responsible for deleting this object (through the destroy() method).
Public Member Functions | |
void | destroy () |
const TSLNode * | node (int N) const |
const TSLLink * | link (int N) const |
const TSLLink * | link (int N, double &sqDist) const |
int | size_nodes () const |
int | size_links () const |
void TSLNetwork::Query::destroy | ( | ) |
Destroy the object.
const TSLLink * TSLNetwork::Query::link | ( | int | N | ) | const |
const TSLLink * TSLNetwork::Query::link | ( | int | N, |
double & | sqDist ) const |
Overloaded function. Used to retrieve link and square distance elements from the stored list.
N | the element index to return, should be less than size_links. |
sqDist | the square distance (in TMCs) of the link from the search point. (-1 if not stored for the link). |
const TSLNode * TSLNetwork::Query::node | ( | int | N | ) | const |
int TSLNetwork::Query::size_links | ( | ) | const |
int TSLNetwork::Query::size_nodes | ( | ) | const |