mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Reinstate IfcAlignment example
This commit is contained in:
@@ -376,6 +376,13 @@ class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile {
|
||||
auto t = create<T>();
|
||||
t.set_attribute_value(0, std::vector<double>{x, y});
|
||||
return t;
|
||||
}
|
||||
|
||||
template <typename T, typename U>
|
||||
T addValue(U v) {
|
||||
auto measure = create<T>();
|
||||
measure.set_attribute_value(0, v);
|
||||
return measure;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
|
||||
Reference in New Issue
Block a user