mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 03:05:33 +00:00
Consistency TopExp_Explorer::Current()
This commit is contained in:
@@ -461,7 +461,7 @@ namespace {
|
|||||||
|
|
||||||
TopExp_Explorer it(shell, TopAbs_FACE);
|
TopExp_Explorer it(shell, TopAbs_FACE);
|
||||||
for (; it.More(); it.Next()) {
|
for (; it.More(); it.Next()) {
|
||||||
const auto& face = TopoDS::Face(it.Value());
|
const auto& face = TopoDS::Face(it.Current());
|
||||||
auto surf = BRep_Tool::Surface(face);
|
auto surf = BRep_Tool::Surface(face);
|
||||||
if (surf->DynamicType() != STANDARD_TYPE(Geom_Plane)) {
|
if (surf->DynamicType() != STANDARD_TYPE(Geom_Plane)) {
|
||||||
return boost::none;
|
return boost::none;
|
||||||
|
|||||||
Reference in New Issue
Block a user