mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 13:52:23 +00:00
Fix enumeration order
This commit is contained in:
@@ -19,7 +19,8 @@ namespace {
|
|||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct dispatch_conversion<ifcopenshell::geometry::taxonomy::type_by_kind::max> {
|
struct dispatch_conversion<ifcopenshell::geometry::taxonomy::type_by_kind::max> {
|
||||||
static bool dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, const ifcopenshell::geometry::taxonomy::item*, ifcopenshell::geometry::ConversionResults&) {
|
static bool dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, const ifcopenshell::geometry::taxonomy::item* item, ifcopenshell::geometry::ConversionResults&) {
|
||||||
|
Logger::Error("No conversion for " + std::to_string(item->kind()));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ public:
|
|||||||
topology_error() : std::runtime_error("Generic topology error") {}
|
topology_error() : std::runtime_error("Generic topology error") {}
|
||||||
};
|
};
|
||||||
|
|
||||||
enum kinds { MATRIX4, POINT3, DIRECTION3, LINE, CIRCLE, ELLIPSE, BSPLINE, EDGE, LOOP, FACE, SHELL, EXTRUSION, NODE, COLOUR, STYLE, COLLECTION };
|
enum kinds { MATRIX4, POINT3, DIRECTION3, LINE, CIRCLE, ELLIPSE, BSPLINE, EDGE, LOOP, FACE, SHELL, EXTRUSION, NODE, COLLECTION, COLOUR, STYLE };
|
||||||
|
|
||||||
struct item {
|
struct item {
|
||||||
const IfcUtil::IfcBaseClass* instance;
|
const IfcUtil::IfcBaseClass* instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user