wkt-use-section option for svg-like occt section cuts instead of polyhedral topology

This commit is contained in:
Thomas Krijnen
2024-10-08 20:57:27 +02:00
parent cc6249d6cc
commit bfe3601fd1
4 changed files with 154 additions and 27 deletions
+7 -1
View File
@@ -81,11 +81,17 @@ inline namespace settings {
static constexpr const char* const name = "base-uri";
static constexpr const char* const description = "Base URI for products to be used in RDF-based serializations.";
};
struct WktUseSection : public SettingBase<WktUseSection, bool> {
static constexpr const char* const name = "wkt-use-section";
static constexpr const char* const description = "Use a geometrical section rather than full polyhedral output and footprint in TTL WKT";
static constexpr bool defaultvalue = false;
};
}
class SerializerSettings : public SettingsContainer <
// @todo should we use tuple_cat here to unify the settings into a single class?
std::tuple<UseElementNames, UseElementGuids, UseElementStepIds, UseElementTypes, UseYUp, WriteGltfEcef, FloatingPointDigits, BaseUri>
std::tuple<UseElementNames, UseElementGuids, UseElementStepIds, UseElementTypes, UseYUp, WriteGltfEcef, FloatingPointDigits, BaseUri, WktUseSection>
>
{};