CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_navigation.h>
Public Member Functions | |
CTimeAndDistanceMatrix ()=default | |
CTimeAndDistanceMatrix (CTimeAndDistanceMatrix &)=default | |
CTimeAndDistanceMatrix (CTimeAndDistanceMatrix &&)=default | |
CTimeAndDistanceMatrix (size_t aFromCount, size_t aToCount, std::vector< uint32_t > &&aMatrix) | |
CTimeAndDistanceMatrix & | operator= (const CTimeAndDistanceMatrix &)=default |
CTimeAndDistanceMatrix & | operator= (CTimeAndDistanceMatrix &&)=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 constructot.
|
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.