mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-15 18:14:08 +00:00
wkt-use-section option for svg-like occt section cuts instead of polyhedral topology
This commit is contained in:
@@ -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>
|
||||
>
|
||||
{};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user