Class Ifc4::IfcVector¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcGeometricRepresentationItem
(Class Ifc4::IfcGeometricRepresentationItem)
Class Documentation¶
-
class
Ifc4
::
IfcVector
: public Ifc4::IfcGeometricRepresentationItem¶ Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector.
NOTE: The magnitude of the vector can not be reliable calculated from the components of the Orientation attribute. This form of representation was selected to reduce problems with numerical instability. For example a vector of magnitude 2.0 mm and equally inclined to the coordinate axes could be represented with Orientation attribute of (1.0,1.0,1.0).
NOTE: Corresponding ISO 10303 entity: vector. Please refer to ISO/IS 10303-42:1994, p.27 for the final definition of the formal standard. The derived attribute Dim has been added (see also note at IfcGeometricRepresentationItem).
HISTORY: New entity in IFC Release 1.0
Public Types
-
typedef IfcTemplatedEntityList<IfcVector>
list
¶
Public Functions
-
::Ifc4::IfcDirection *
Orientation
() const¶ The direction of the vector.
-
void
setOrientation
(::Ifc4::IfcDirection *v)¶
-
double
Magnitude
() const¶ The magnitude of the vector. All vectors of Magnitude 0.0 are regarded as equal in value regardless of the orientation attribute.
-
void
setMagnitude
(double v)¶
-
IfcVector
(IfcEntityInstanceData *e)¶
-
IfcVector
(::Ifc4::IfcDirection *v1_Orientation, double v2_Magnitude)¶
-
typedef IfcTemplatedEntityList<IfcVector>