Class Ifc4x1::IfcQuantityWeight¶
Defined in File Ifc4x1.h
Nested Relationships¶
This class is a nested type of Struct Ifc4x1.
Inheritance Relationships¶
Base Type¶
public Ifc4x1::IfcPhysicalSimpleQuantity
(Class Ifc4x1::IfcPhysicalSimpleQuantity)
Class Documentation¶
-
class
Ifc4x1
::
IfcQuantityWeight
: public Ifc4x1::IfcPhysicalSimpleQuantity¶ IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element’s physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement.
EXAMPLE The amount of reinforcement used within a building element may be measured according to its weight. The actual size of the weight depends on the method of measurement used.
HISTORY New entity in IFC2x. It replaces the calcXxx attributes used in previous IFC Releases.
Public Types
-
typedef IfcTemplatedEntityList<IfcQuantityWeight>
list
¶
Public Functions
-
double
WeightValue
() const¶ Mass measure value of this quantity.
-
void
setWeightValue
(double v)¶
-
bool
hasFormula
() const¶ Whether the optional attribute Formula is defined for this IfcQuantityWeight.
-
std::string
Formula
() const¶ A formula by which the quantity has been calculated. It can be assigned in addition to the actual value of the quantity. Formulas could be mathematic calculations (like width x height), database links, or a combination. The formula is for informational purposes only.
IFC2x4 CHANGE Attribute added to the end of the attribute list.
-
void
setFormula
(std::string v)¶
-
IfcQuantityWeight
(IfcEntityInstanceData *e)¶
-
IfcQuantityWeight
(std::string v1_Name, boost::optional<std::string> v2_Description, ::Ifc4x1::IfcNamedUnit *v3_Unit, double v4_WeightValue, boost::optional<std::string> v5_Formula)¶
-
typedef IfcTemplatedEntityList<IfcQuantityWeight>