OpenLexocad  27.1
OpenLxApp::MaterialConstituent Class Reference

IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. In order to identify and distinguish the part of the shape representation to which the material constituent applies the IfcProductDefinitionShape of the element has to include instances of IfcShapeAspect, using the same keyword for their Name attribute. More...

#include <MaterialConstituent.h>

Inheritance diagram for OpenLxApp::MaterialConstituent:
OpenLxApp::MaterialDefinition OpenLxApp::MaterialSelect OpenLxApp::DocObject

Public Member Functions

Base::String getName () const
 
void setName (const Base::String &aValue)
 
Base::String getDescription () const
 
void setDescription (const Base::String &aValue)
 
double getFraction () const
 
void setFraction (const double &aValue)
 
Base::String getCategory () const
 
void setCategory (const Base::String &aValue)
 
 ~MaterialConstituent ()
 
void setMaterial (std::shared_ptr< Material > aMaterial)
 
std::shared_ptr< MaterialgetMaterial () const
 
- Public Member Functions inherited from OpenLxApp::MaterialDefinition
virtual ~MaterialDefinition (void)
 
- Public Member Functions inherited from OpenLxApp::DocObject
std::shared_ptr< DocumentgetDocument () const
 
bool isNew () const
 
bool isUpdated () const
 
bool isValid () const
 
bool hasErrors () const
 
void touch ()
 
LxIfc4::LxIfc4EntityEnum getEntityType () const
 
std::string getEntityTypeAsString () const
 
std::shared_ptr< Core::DbgInfogetDbgInfo () const
 
 DocObject (Core::DocObject *aObject)
 
virtual ~DocObject (void)
 
Core::DocObject__getObj__ () const
 
- Public Member Functions inherited from OpenLxApp::MaterialSelect
 MaterialSelect ()
 
virtual ~MaterialSelect ()
 

Additional Inherited Members

- Protected Member Functions inherited from OpenLxApp::MaterialDefinition
 MaterialDefinition ()
 
- Protected Member Functions inherited from OpenLxApp::DocObject
 DocObject ()
 
- Protected Attributes inherited from OpenLxApp::DocObject
Core::DocObject_coreObj = nullptr
 

Detailed Description

IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. In order to identify and distinguish the part of the shape representation to which the material constituent applies the IfcProductDefinitionShape of the element has to include instances of IfcShapeAspect, using the same keyword for their Name attribute.

NOTE See the "Material Use Definition" at the individual element to which an IfcMaterialConstituentSet may apply for a required or recommended definition of such keywords as value for MaterialConstituent.Name. (Definition from ISO/CD 16739:2011)

See also
Documentation from IFC4: IfcMaterialConstituent

Constructor & Destructor Documentation

◆ ~MaterialConstituent()

OpenLxApp::MaterialConstituent::~MaterialConstituent ( )

Member Function Documentation

◆ getCategory()

Base::String OpenLxApp::MaterialConstituent::getCategory ( ) const

◆ getDescription()

Base::String OpenLxApp::MaterialConstituent::getDescription ( ) const

◆ getFraction()

double OpenLxApp::MaterialConstituent::getFraction ( ) const

◆ getMaterial()

std::shared_ptr<Material> OpenLxApp::MaterialConstituent::getMaterial ( ) const

◆ getName()

Base::String OpenLxApp::MaterialConstituent::getName ( ) const

◆ setCategory()

void OpenLxApp::MaterialConstituent::setCategory ( const Base::String aValue)

◆ setDescription()

void OpenLxApp::MaterialConstituent::setDescription ( const Base::String aValue)

◆ setFraction()

void OpenLxApp::MaterialConstituent::setFraction ( const double &  aValue)

◆ setMaterial()

void OpenLxApp::MaterialConstituent::setMaterial ( std::shared_ptr< Material aMaterial)

◆ setName()

void OpenLxApp::MaterialConstituent::setName ( const Base::String aValue)

The documentation for this class was generated from the following file: