IFC 4.4.0.0 build 20261005 (IFC4X4_DEV_20260525) ⚠ buildingSMART Working Draft. All content is under development.

  • Help suggest improvements
  • Get user or developer support

8.9.6.14 IfcMakeArrayOfArray

8.9.6.14.1 Semantic definition

{ .extDef}

8.9.6.14.2 Formal representation

FUNCTION IfcMakeArrayOfArray
(Lis : LIST[1:?] OF LIST [1:?] OF GENERIC : T;
Low1, U1, Low2, U2 : INTEGER):
ARRAY [Low1:U1] OF ARRAY [Low2:U2] OF GENERIC : T;
LOCAL
Res : ARRAY[Low1:U1] OF ARRAY [Low2:U2] OF GENERIC : T;
END_LOCAL;
(* Check input dimensions for consistency *)
IF (U1-Low1+1) <> SIZEOF(Lis) THEN
RETURN (?);
END_IF;
IF (U2 - Low2 + 1 ) <> SIZEOF(Lis[1]) THEN
RETURN (?) ;
END_IF;
(* Initialise Res with values from Lis[1] *)
Res := [IfcListToArray(Lis[1], Low2, U2) : (U1-Low1 + 1)];
REPEAT i := 2 TO HIINDEX(Lis);
IF (U2-Low2+1) <> SIZEOF(Lis[i]) THEN
RETURN (?);
END_IF;
Res[Low1+i-1] := IfcListToArray(Lis[i], Low2, U2);
END_REPEAT;
RETURN (Res);
END_FUNCTION;

8.9.6.14.3 References

Edit on Github

3 contributor(s): ArturTomczakDion MoultbSI-Bot
Last change: Improve definition split (#876) * bring back headers headers were previously removed by mistake, now bringing them back * add new lines and rename the tag add the word 'short' in it * unify newlines make exactly one newline before and two after the tag * resolving typos Because bringing back headers required to go back in time to previous version, I'm now re-resolving the issues: #861, #860, #856 by ArturTomczak on 2024-07-16T16:07:28+02:00

Is this page difficult to understand? Let us know!

8.9.6.14.4 Changelog

8.9.6.14.4.1 IFC4

  • New resource