8.9.6.17 IfcOrthogonalComplement
8.9.6.17.1 Semantic definition
8.9.6.17.2 Formal representation
FUNCTION IfcOrthogonalComplement
(Vec : IfcDirection)
: IfcDirection;
LOCAL
Result : IfcDirection ;
END_LOCAL;
IF NOT EXISTS (Vec) OR (Vec.Dim <> 2) THEN
RETURN(?);
ELSE
Result := IfcRepresentationItem() || IfcGeometricRepresentationItem () || IfcDirection([-Vec.DirectionRatios[2], Vec.DirectionRatios[1]]);
RETURN(Result);
END_IF;
END_FUNCTION;
8.9.6.17.3 References