#include <fcb/generated/geometry_generated.h>
#include <fcb/geometry.hpp>
#include <algorithm>
Go to the source code of this file.
|
| nlohmann::json | fcb::decode_boundaries (GeometryKind type, UIntView solids, UIntView shells, UIntView surfaces, UIntView strings, UIntView indices) |
| | Rebuild CityJSON's nested boundaries from the five flattened arrays, at the depth type implies.
|
| nlohmann::json | fcb::decode_semantics_values (GeometryKind type, UIntView solids, UIntView shells, UIntView values) |
| | Rebuild the nested semantics values array from the flat run of semantic indices.
|
| nlohmann::json | fcb::decode_material_values (GeometryKind type, UIntView solids, UIntView shells, UIntView vertices) |
| | Rebuild the values array of one material theme from a MaterialMapping.
|
| nlohmann::json | fcb::decode_texture_values (GeometryKind type, UIntView solids, UIntView shells, UIntView surfaces, UIntView strings, UIntView vertices) |
| | Rebuild the values array of one texture theme from a TextureMapping.
|
| std::string | fcb::geometry_type_name (std::uint8_t type) |
| | CityJSON name for a GeometryType enumerator, e.g.
|
◆ FCB_ASSERT_KIND
| #define FCB_ASSERT_KIND |
( |
| name | ) |
|
Value: static_assert(static_cast<std::uint8_t>(GeometryKind::name) == \
static_cast<std::uint8_t>(::GeometryType::name), \
"GeometryKind::" #name " has drifted from the generated GeometryType")
Definition at line 17 of file geometry.cpp.