Cannot find IfcProduct.Transform() method in Ifc4 namespace ! (Xbim.Essentials)

邮差的信 提交于 2019-12-11 16:37:54

问题


I am using IfcProduct.Transform() method to obtain the transformation matrix (XbimMatrix3D instance) and using that to do conversions between relative and absolute placements.

But I am not able to find those functions in Ifc4 namespace! I am not able to find anything else that is meant to substitute these functions. This issue has been highlighted here too: https://github.com/xBimTeam/XbimGeometry/issues/103, but there is no response. Please help!


回答1:


It looks like this all got refactored in the IFC4 updates so that transforms on IfcObjectPlacements are handled in Xbim.Geometry.Engine against interfaces in Xbim.Ifc4.Interfaces

I'd take a look at https://github.com/xBimTeam/XbimGeometry/blob/08920df29f909dde0c4f65c63d80ae0b5540025f/Xbim.Geometry.Engine.Interop/XbimGeometryEngine.cs#L442



来源:https://stackoverflow.com/questions/50339650/cannot-find-ifcproduct-transform-method-in-ifc4-namespace-xbim-essentials

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!