International Organization for Standardization

ISO 16739-1:2024(E)

8.9.6.3 IfcBuild2Axes

8.9.6.3.1 Semantic definition

8.9.6.3.2 Formal representation

FUNCTION IfcBuild2Axes
  (RefDirection : IfcDirection)
    : LIST [2:2] OF IfcDirection;
LOCAL
  D : IfcDirection := NVL(IfcNormalise(RefDirection),
      IfcRepresentationItem() || IfcGeometricRepresentationItem () || IfcDirection([1.0,0.0]));
END_LOCAL;
  RETURN([D, IfcOrthogonalComplement(D)]);

END_FUNCTION;