|
NavMap
|
#include <gtest/gtest.h>#include <algorithm>#include <cstdint>#include <vector>#include "navmap_core/NavMap.hpp"
Typedefs | |
| using | NavCelId |
| Index of a triangle (NavCel) within the global mesh. | |
Enumerations | |
| enum class | LinkType |
| Main container for navigable surfaces, geometry, and layers. More... | |
Functions | |
| TEST (GeometryId, EqualForEqualGeometryAndFollowsEdits) | |
| TEST (Links, AddQueryAndDefaultLength) | |
| TEST (Links, CopiesAndAssignmentsCarryTheLinks) | |
| TEST (Links, InvalidLinksAreRejected) | |
| TEST (Links, RemoveAndClearKeepTheIndexConsistent) | |
| using NavCelId |
Index of a triangle (NavCel) within the global mesh.
|
strong |
Main container for navigable surfaces, geometry, and layers.
A navmap::NavMap aggregates vertex positions, a list of navmap::NavCel triangles (global indexing), one or more navmap::Surface partitions, and a navmap::LayerRegistry with arbitrary per-NavCel scalar attributes.
Typical workflow
| TEST | ( | GeometryId | , |
| EqualForEqualGeometryAndFollowsEdits | ) |
| TEST | ( | Links | , |
| AddQueryAndDefaultLength | ) |
| TEST | ( | Links | , |
| CopiesAndAssignmentsCarryTheLinks | ) |
| TEST | ( | Links | , |
| InvalidLinksAreRejected | ) |
| TEST | ( | Links | , |
| RemoveAndClearKeepTheIndexConsistent | ) |