Class Ifc4::IfcQuantityLength¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcPhysicalSimpleQuantity
(Class Ifc4::IfcPhysicalSimpleQuantity)
Class Documentation¶
-
class
Ifc4
::
IfcQuantityLength
: public Ifc4::IfcPhysicalSimpleQuantity¶ IfcQuantityLength is a physical quantity that defines a derived length 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 A rafter within a roof construction may be measured according to its length (taking a common cross section into account). The actual size of the length depends on the method of measurement used.
HISTORY New entity in IFC Release 2.x. It replaces the calcXxx attributes used in previous IFC Releases.
Public Types
-
typedef IfcTemplatedEntityList<IfcQuantityLength>
list
¶
Public Functions
-
double
LengthValue
() const¶ Length measure value of this quantity.
-
void
setLengthValue
(double v)¶
-
bool
hasFormula
() const¶ Whether the optional attribute Formula is defined for this IfcQuantityLength.
-
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)¶
-
IfcQuantityLength
(IfcEntityInstanceData *e)¶
-
IfcQuantityLength
(std::string v1_Name, boost::optional<std::string> v2_Description, ::Ifc4::IfcNamedUnit *v3_Unit, double v4_LengthValue, boost::optional<std::string> v5_Formula)¶
-
typedef IfcTemplatedEntityList<IfcQuantityLength>