本文介绍了在Ifc4名称空间中找不到IfcProduct.Transform()方法! (Xbim.Essentials)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IfcProduct.Transform()方法获取转换矩阵(XbimMatrix3D实例),并使用该矩阵在相对位置和绝对位置之间进行转换.

但是我无法在Ifc4命名空间中找到这些功能!我找不到其他可以替代这些功能的东西.此问题也已在此处突出显示: https://github.com/xBimTeam/XbimGeometry/issues/103 ,但没有任何回应.请帮忙!

解决方案

似乎所有这些都已在IFC4更新中进行了重构,以便针对Xcim.Geometry.Engine中的Xbim.Ifc4.Interfaces

我来看看 https://github.com/xBimTeam/XbimGeometry/blob/08920df29f909dde0c4f65c63d80ae0b5540025f/Xbim.Geometry.Engine.Interop/XbimGeometryEngine.cs#L442

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!

解决方案

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

这篇关于在Ifc4名称空间中找不到IfcProduct.Transform()方法! (Xbim.Essentials)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 18:23