Class Ifc4::IfcMaterialDefinitionRepresentation¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcProductRepresentation
(Class Ifc4::IfcProductRepresentation)
Class Documentation¶
-
class
Ifc4
::
IfcMaterialDefinitionRepresentation
: public Ifc4::IfcProductRepresentation¶ IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts.
NOTE The IfcMaterialDefinitionRepresentation is currently only used to define presentation information to material used at element occurrences, defined as subtypes of IfcElement, or at element types, defined as subtypes of IfcElementType. The IfcMaterial is assigned to the subtype of IfcElement, or IfcElementType using the IfcRelAssociatesMaterial relationship (eventually via other material related entities IfcMaterialLayerSetUsage, IfcMaterialLayerSet, IfcMaterialLayer, or IfcMaterialProfileSetUsage, IfcMaterialProfileSet, IfcMaterialProfile).
The IfcMaterialDefinitionRepresentation can apply
different presentation styles for different representation contexts, for example, a different style for sketch view, model view or plan view, or for different target scales, for each representation context is can apply curve style, fill area style (hatching), symbol, text and surface style.
HISTORY New entity in IFC2x3.
IFC2x3 CHANGE The entity IfcMaterialDefinitionRepresentation has been added. Upward compatibility for file based exchange is guaranteed.
IFC2x4 CHANGE The assignment of curve, surface and other styles to an IfcStyledItem has been simplified by IfcStyleAssignmentSelect. The use of intermediate IfcPresentationStyleAssignment is deprecated.
Use definition
As shown in Figure 331, the presentation assignment can be specific to a representation context by adding one and more IfcStyledRepresentation’s. Each of them includes a single IfcStyledItem with exactly zero or one style for either curve, fill area, surface, text or symbol style that is applicable.
Figure 331 — Material definition representation
Public Types
-
typedef IfcTemplatedEntityList<IfcMaterialDefinitionRepresentation>
list
¶
Public Functions
-
::Ifc4::IfcMaterial *
RepresentedMaterial
() const¶ Reference to the material to which the representation applies.
-
void
setRepresentedMaterial
(::Ifc4::IfcMaterial *v)¶
-
IfcMaterialDefinitionRepresentation
(IfcEntityInstanceData *e)¶
-
IfcMaterialDefinitionRepresentation
(boost::optional<std::string> v1_Name, boost::optional<std::string> v2_Description, IfcTemplatedEntityList<::Ifc4::IfcRepresentation>::ptr v3_Representations, ::Ifc4::IfcMaterial *v4_RepresentedMaterial)¶
-
typedef IfcTemplatedEntityList<IfcMaterialDefinitionRepresentation>