Description
Hi, I have a question about the function hasBooleanOperations. As I understand it, this function checks whether an IfcProductRepresentation includes boolean operations, and if it doesn’t, you intend to cache it (it isn't implemented yet). However, I’m not fully clear on why the presence of boolean operations prevents caching the geometric representation of the object.
Wouldn’t all elements using this representation be affected similarly by the boolean operations? Couldn’t we still cache it as long as the object itself doesn’t have openings declared via hasOpenings_inverse (for IfcElement)?
The part I’m referring to is in GeometryConverter.h at line 1084:
bool hasBoolOps = RepresentationConverter::hasBooleanOperations(product_representation);
if (!hasBoolOps)
{
// TODO: cache items
}
I would appreciate if you let me know if I’m misunderstanding something. Thanks in advance for your help!