Struct filter¶
Defined in File filter.h
Inheritance Relationships¶
Derived Types¶
public ifcopenshell::geom::entity_filter(Struct entity_filter)public ifcopenshell::geom::instance_id_filter(Struct instance_id_filter)public ifcopenshell::geom::wildcard_filter(Struct wildcard_filter)
Struct Documentation¶
-
struct filter¶
Subclassed by ifcopenshell::geom::entity_filter, ifcopenshell::geom::instance_id_filter, ifcopenshell::geom::wildcard_filter
Public Functions
-
inline filter()¶
-
inline filter(bool incl, bool trav, bool trav_openings = false)¶
-
inline bool match(const express::base &prod, const ifcopenshell::geom::filter_function &pred) const¶
-
inline bool traverse_match(const express::base &prod, const ifcopenshell::geom::filter_function &pred) const¶
Public Members
-
bool include¶
Should the product be included (true) or excluded (false).
-
bool traverse¶
If traversal requested, traverse to the parents to see if they satisfy the criteria. E.g. we might be looking for children of a storey named “Level 20”, or children of entities that have no representation, e.g. IfcCurtainWall.
-
bool traverse_openings¶
Include opening relationships as part of traversal.
-
std::string description¶
Optional description for the filtering criteria of this filter.
-
inline filter()¶