xBimTeam / XbimEssentials

A .NET library to work with data in the IFC format. This is the core component of the Xbim Toolkit
https://xbimteam.github.io/
Other
477 stars 171 forks source link

Getting correct world coordinates of the element #548

Closed GVladislavG closed 3 months ago

GVladislavG commented 5 months ago

Hello, team!

I noticed one thing that I can't understand. There is matrix to locate element in world coordinates in XbimShapeInstance.Transformation. But also there is need to multiplicate this matrix on IfcSite.ObjectPlacement in some IFC-files to get correct coordinates. How can I understand if I need to add IfcSite.ObjectPlacement transformation or not?

Thanks!