Closed dlabz closed 10 years ago
Oh, right... I forgot about quaternions...
Hi, I know that geometryInfo.getTransformation()= byte[] transformation = new byte[16 * 8]; How can I parse the 4*4 matrix? is each value double or not?
Please stop crossposting (https://github.com/opensourceBIM/BIMserver/issues/344)
I use geometryInfo.getTransformation() to get transformation matrix of IfcProduct instances. For some elements matrix is correct, while for others rows are messed up.
I'm not sure if I'm doing something wrong here. I've tried to reset the position of the byte array, and to extract values by giving position of the value in matrix.
version: BIMServer 1.3 final engine: IfcOpenShell model: IfcOpenHouse
edit: updated endians