Skip to content

Caching IfcProductRepresentation #291

Open
@ahmetbekcan

Description

@ahmetbekcan

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions