CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_navigation.h>
Public Member Functions | |
TimeAndDistanceMatrix ()=default | |
TimeAndDistanceMatrix (TimeAndDistanceMatrix &)=default | |
TimeAndDistanceMatrix (TimeAndDistanceMatrix &&)=default | |
TimeAndDistanceMatrix (size_t aFromCount, size_t aToCount, std::vector< uint32_t > &&aMatrix) | |
TimeAndDistanceMatrix & | operator= (const TimeAndDistanceMatrix &)=default |
TimeAndDistanceMatrix & | operator= (TimeAndDistanceMatrix &&)=default |
size_t | FromCount () const |
size_t | ToCount () const |
uint32_t | Time (size_t aFromIndex, size_t aToIndex) const |
uint32_t | Distance (size_t aFromIndex, size_t aToIndex) const |
A matrix of route times and distances between sets of points.
|
default |
The default constructor.
|
default |
The copy constructor
|
default |
The move constructor.
|
inline |
Constructs the object from from-count, to-count and raw matrix.
|
inline |
Returns the distance in metres along the best route from one of the 'from' points to one of the 'to' points.
|
inline |
Returns the number of 'from' points.
|
default |
The copy assignment operator
|
default |
The move assignment operator.
|
inline |
Returns the time in seconds taken to travel on the best route from one of the 'from' points to one of the 'to' points.
|
inline |
Returns the number of 'to' points.