0

我有以下数据:

<IfcSpace id="02e6ey$yf0S8C4bZUVTUao" Name="BRA-0101" ObjectPlacement="-0.2448 0.969574 0 0 -0.969574 -0.2448 0 0 0 0 1 0 1.47106e+08 6.61515e+09 29434 1" LongName="TEKNIK" CompositionType="ELEMENT" InteriorOrExteriorSpace="INTERNAL">...</IfcSpace>

有人可以告诉我如何解释 ObjectPlacement 部分吗?我需要知道属性的每个数字是什么意思。这是使用 IfcOpenShell 中的 IfcConvert 工具从 ifc 格式转换为 xml 格式的代码的一小部分

非常感谢

4

1 回答 1

1

I am not very familiar with IfcOpenShell, but since the attribute consists out of 16 values my guess would be it is a 4x4 transformation matrix.

 a b c d
 e f g h
 i j k l
 m n o p

With your values:

    -0.2448    0.969574     0 0 
  -0.969574     -0.2448     0 0 
          0           0     1 0 
1.47106e+08 6.61515e+09 29434 1

A 4x4 matrix allows for translation rotation and scaling of an object. If you don't know how matrices work then there are loads of tutorials on matrices available online.

于 2018-06-08T08:42:46.507 回答