Fix creating representation with inherited materials

It should be considered as inherited material can also have a style.
Though occurrence's material is still prioritized.
This commit is contained in:
Andrej730
2024-06-18 13:51:03 +05:00
committed by Andrej
parent 882e0a4ae9
commit 301cdf6504
4 changed files with 26 additions and 2 deletions
+1
View File
@@ -41,6 +41,7 @@ namespace geometry {
virtual void initialize_settings() = 0;
virtual bool get_layerset_information(const IfcUtil::IfcBaseInterface*, layerset_information&, int&) = 0;
virtual bool get_wall_neighbours(const IfcUtil::IfcBaseInterface*, std::vector<endpoint_connection>&) = 0;
virtual const IfcUtil::IfcBaseEntity* get_product_type(const IfcUtil::IfcBaseEntity*) = 0;
virtual const IfcUtil::IfcBaseEntity* get_single_material_association(const IfcUtil::IfcBaseEntity*) = 0;
virtual double get_length_unit() const = 0;
virtual IfcUtil::IfcBaseEntity* representation_of(const IfcUtil::IfcBaseEntity* product) = 0;