Detection policy for findFacingPairs(). More...
#include <mesh/breaklinestrips.h>
Public Attributes | |
| double | minWidth = 0.0 |
| Separation range, map units (maxWidth > minWidth > 0). | |
| double | maxWidth = 0.0 |
| Upper end of that range: how far each normal ray is cast. | |
| double | station = 0.0 |
| Sampling step along each line, map units (> 0). | |
| double | maxAngleDeg = 20.0 |
| Largest angle between the two lines at a station. | |
| double | widthChange |
| Largest relative change of the separation from one station to the next. | |
| int | minStations = 4 |
| A pair also runs at least three separations along the line. | |
| double | endTrimFraction = 0.25 |
| Each run gives up this fraction of its separation at both ends, so the strips of two crossing streets keep apart at the intersection. | |
| std::function< double(double, double)> | elevationAt |
| Ground elevation at a map coordinate (NaN = unknown). | |
Detection policy for findFacingPairs().
Lengths are in map (XY) units. With the zero defaults the width/station check fails and no pairs are returned.
| std::function<double(double, double)> mesh::FacingPairOptions::elevationAt |
Ground elevation at a map coordinate (NaN = unknown).
Null = no trough test (every facing pair qualifies).
| double mesh::FacingPairOptions::endTrimFraction = 0.25 |
Each run gives up this fraction of its separation at both ends, so the strips of two crossing streets keep apart at the intersection.
| double mesh::FacingPairOptions::maxAngleDeg = 20.0 |
Largest angle between the two lines at a station.
| double mesh::FacingPairOptions::maxWidth = 0.0 |
Upper end of that range: how far each normal ray is cast.
| int mesh::FacingPairOptions::minStations = 4 |
A pair also runs at least three separations along the line.
| double mesh::FacingPairOptions::minWidth = 0.0 |
Separation range, map units (maxWidth > minWidth > 0).
| double mesh::FacingPairOptions::station = 0.0 |
Sampling step along each line, map units (> 0).
| double mesh::FacingPairOptions::widthChange |
Largest relative change of the separation from one station to the next.