Class Ifc2x3::IfcPhysicalSimpleQuantity

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Ifc2x3::IfcPhysicalSimpleQuantity : public Ifc2x3::IfcPhysicalQuantity

The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value.

EXAMPLE An element, like a wall, may have several area measures, like footprint area, left wall face area, right wall face area. These areas would be given by three instances of the area quantity subtype, with different Name string values.

A section “Quantity Use Definition” at individual entities as subtypes of IfcBuildingElement gives guidance to the usage of the Name attribute to characterize the individual quantities. If the Unit attribute is given, the value attribute (introduced at the level of subtypes of IfcPhysicalSimpleQuantity) are given as quantities of this unit, otherwise the global unit definitions (given by IfcUnitAssignment) are used.

HISTORY New entity in IFC2x2 Addendum 1.

IFC2x2 ADDENDUM 1 CHANGE The abstract entity IfcPhysicalSimpleQuantity has been added. Upward compatibility for file based exchange is guaranteed.

Subclassed by Ifc2x3::IfcQuantityArea, Ifc2x3::IfcQuantityCount, Ifc2x3::IfcQuantityLength, Ifc2x3::IfcQuantityTime, Ifc2x3::IfcQuantityVolume, Ifc2x3::IfcQuantityWeight

Public Functions

bool hasUnit() const

Whether the optional attribute Unit is defined for this IfcPhysicalSimpleQuantity.

::Ifc2x3::IfcNamedUnit *Unit() const

Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures.

void setUnit(::Ifc2x3::IfcNamedUnit *v)
const IfcParse::entity &declaration() const
IfcPhysicalSimpleQuantity(IfcEntityInstanceData *e)
IfcPhysicalSimpleQuantity(std::string v1_Name, boost::optional<std::string> v2_Description, ::Ifc2x3::IfcNamedUnit *v3_Unit)

Public Static Functions

const IfcParse::entity &Class()