|
NavMap
|
#include <gtest/gtest.h>#include <algorithm>#include <cmath>#include <cstdint>#include <functional>#include <limits>#include <random>#include <set>#include <utility>#include <vector>#include "navmap_core/Iterators.hpp"#include "navmap_core/NavMap.hpp"
Classes | |
| class | TraversalScratch |
| Reusable traversal buffers. Not thread-safe: one per thread. More... | |
Typedefs | |
| using | NavCelId |
| Index of a triangle (NavCel) within the global mesh. | |
Enumerations | |
| enum class | Metric |
| Distance from a centre used to grow a region. More... | |
Functions | |
| TEST (Iterators, AabbMatchesBruteForceOnBothFloors) | |
| TEST (Iterators, AabbSelectsALevelByHeightAndStops) | |
| TEST (Iterators, ByDistanceIsOrderedCompleteAndNeverShorterThanAStraightLine) | |
| TEST (Iterators, ByDistanceOnASlopeMeasuresAlongTheSurface) | |
| TEST (Iterators, DiscEdgeValues) | |
| TEST (Iterators, DiscNeverReachesAnotherFloor) | |
| TEST (Iterators, EuclideanDiscOnAFlatMapIsTheCentroidsWithinTheRadius) | |
| TEST (Iterators, GeodesicDiscDoesNotCrossAWallThatEuclideanSees) | |
| TEST (Iterators, GeodesicDistanceAroundAWallIsTheShortestDetour) | |
| TEST (Iterators, PolygonMatchesBruteForceIncludingConcaveOnes) | |
| TEST (Iterators, PolygonStaysOnTheSeedLevelAndHandlesDegenerateInput) | |
| TEST (Iterators, RingIsTheDiscMinusItsInnerPartAndCrossesIt) | |
| TEST (Iterators, ScratchReuseGivesTheSameResultsAcrossMapsAndCalls) | |
| TEST (Iterators, SegmentWalkAlongMeshEdgesAndThroughVertices) | |
| TEST (Iterators, SegmentWalkCoversTheSegmentAndMatchesTheCrossedCells) | |
| TEST (Iterators, SegmentWalkStaysOnItsFloorAndFollowsSlopes) | |
| TEST (Iterators, SegmentWalkStopsAtBordersAndHoles) | |
| using NavCelId |
Index of a triangle (NavCel) within the global mesh.
|
strong |
Distance from a centre used to grow a region.
| TEST | ( | Iterators | , |
| AabbMatchesBruteForceOnBothFloors | ) |
| TEST | ( | Iterators | , |
| AabbSelectsALevelByHeightAndStops | ) |
| TEST | ( | Iterators | , |
| ByDistanceIsOrderedCompleteAndNeverShorterThanAStraightLine | ) |
| TEST | ( | Iterators | , |
| ByDistanceOnASlopeMeasuresAlongTheSurface | ) |
| TEST | ( | Iterators | , |
| DiscEdgeValues | ) |
| TEST | ( | Iterators | , |
| DiscNeverReachesAnotherFloor | ) |
| TEST | ( | Iterators | , |
| EuclideanDiscOnAFlatMapIsTheCentroidsWithinTheRadius | ) |
| TEST | ( | Iterators | , |
| GeodesicDiscDoesNotCrossAWallThatEuclideanSees | ) |
| TEST | ( | Iterators | , |
| GeodesicDistanceAroundAWallIsTheShortestDetour | ) |
| TEST | ( | Iterators | , |
| PolygonMatchesBruteForceIncludingConcaveOnes | ) |
| TEST | ( | Iterators | , |
| PolygonStaysOnTheSeedLevelAndHandlesDegenerateInput | ) |
| TEST | ( | Iterators | , |
| RingIsTheDiscMinusItsInnerPartAndCrossesIt | ) |
| TEST | ( | Iterators | , |
| ScratchReuseGivesTheSameResultsAcrossMapsAndCalls | ) |
| TEST | ( | Iterators | , |
| SegmentWalkAlongMeshEdgesAndThroughVertices | ) |
| TEST | ( | Iterators | , |
| SegmentWalkCoversTheSegmentAndMatchesTheCrossedCells | ) |
| TEST | ( | Iterators | , |
| SegmentWalkStaysOnItsFloorAndFollowsSlopes | ) |
| TEST | ( | Iterators | , |
| SegmentWalkStopsAtBordersAndHoles | ) |