Class Ifc4x2::IfcDirection

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcDirection : public Ifc4x2::IfcGeometricRepresentationItem

Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant.

NOTE: The components of this entity are not normalized. If a unit vector is required it should be normalized before use.

NOTE: Corresponding ISO 10303 entity: direction. Please refer to ISO/IS 10303-42:1994, p.26 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<IfcDirection> list

Public Functions

std::vector<double> DirectionRatios() const

The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3])

void setDirectionRatios(std::vector<double> v)
const IfcParse::entity &declaration() const
IfcDirection(IfcEntityInstanceData *e)
IfcDirection(std::vector<double> v1_DirectionRatios)

Public Static Functions

const IfcParse::entity &Class()