mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
fix boolean exp
This commit is contained in:
@@ -1502,7 +1502,7 @@ bool CgalKernel::convert_impl(const taxonomy::boolean_result* br, ifcopenshell::
|
|||||||
if (c->kind() == taxonomy::FACE && c->instance->declaration().is("IfcHalfSpaceSolid") && !first) {
|
if (c->kind() == taxonomy::FACE && c->instance->declaration().is("IfcHalfSpaceSolid") && !first) {
|
||||||
auto face = (taxonomy::face*) c;
|
auto face = (taxonomy::face*) c;
|
||||||
|
|
||||||
if (face->basis == nullptr || !face->basis->kind() == taxonomy::PLANE) {
|
if (face->basis == nullptr || face->basis->kind() != taxonomy::PLANE) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user