mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Simplify IfcFixedReferenceSweptAreaSolid position check logic
This commit is contained in:
@@ -116,10 +116,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcFixedReferenceSweptAreaSolid
|
||||
}
|
||||
} else {
|
||||
taxonomy::matrix4::ptr matrix;
|
||||
bool has_position = true;
|
||||
has_position = inst->Position() != nullptr;
|
||||
auto pos = inst->Position();
|
||||
if (has_position) {
|
||||
if (inst->Position() != nullptr) {
|
||||
matrix = taxonomy::cast<taxonomy::matrix4>(map(inst->Position()));
|
||||
}
|
||||
// TODO: Implement handling for non-alignment curves using sweep_along_curve
|
||||
|
||||
Reference in New Issue
Block a user