#include <virtual_path.h>
◆ PathCoordVector() [1/3]
OpenOrienteering::PathCoordVector::PathCoordVector |
( |
const MapCoordVector & |
coords | ) |
|
◆ PathCoordVector() [2/3]
◆ PathCoordVector() [3/3]
◆ calculateArea()
double OpenOrienteering::PathCoordVector::calculateArea |
( |
| ) |
const |
Calculates the area of this part.
◆ calculateExtent()
QRectF OpenOrienteering::PathCoordVector::calculateExtent |
( |
| ) |
const |
◆ findNextDashPoint()
PathCoordVector::size_type OpenOrienteering::PathCoordVector::findNextDashPoint |
( |
PathCoordVector::size_type |
first | ) |
const |
Finds the index of the next dash point after first, or returns size()-1.
- Todo:
- Consider return a SplitPathCoord (cf. actual usage).
◆ intersectsBox()
bool OpenOrienteering::PathCoordVector::intersectsBox |
( |
const QRectF & |
box | ) |
const |
- Todo:
- Implement this here, used nowhere else
◆ isPointInside()
bool OpenOrienteering::PathCoordVector::isPointInside |
( |
const MapCoordF & |
coord | ) |
const |
◆ length()
Returns the length of the path.
◆ lowerBound()
PathCoordVector::size_type OpenOrienteering::PathCoordVector::lowerBound |
( |
PathCoord::length_type |
length, |
|
|
size_type |
first, |
|
|
size_type |
last |
|
) |
| const |
|
inline |
Finds the path coordinate index with or just before the given length.
◆ update()
Updates the path coords from the flags/coords, starting at first.
- Returns
- The index after the last element of this part.
◆ upperBound()
PathCoordVector::size_type OpenOrienteering::PathCoordVector::upperBound |
( |
PathCoord::length_type |
length, |
|
|
size_type |
first, |
|
|
size_type |
last |
|
) |
| const |
|
inline |
Finds the path coordinate index with or just after the given length.
◆ SplitPathCoord
◆ VirtualPath
The documentation for this class was generated from the following files: