本文介绍了楼层确定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我得到了等式,Ax + By + Cz + D
其中:
A = vFloorClipPlane.x
B = vFloorClipPlane.y
C = vFloorClipPlane.z
D = vFloorClipPlane.w
它是否代表照片中的楼层平面?
和sum = Ax + By + Cz + D,"sum = 1.2xxxx"是什么意思?
是 代表 飞机与(x,y,z)之间的距离?
推荐答案
如果您插入其他< x,y,z>坐标,然后你将获得从该点到地板平面的距离。 这是到飞机的最短距离,这意味着垂直于平面的向量是指向您的点,然后取
该向量的长度为您提供距离。
If you plug in other <x,y,z> coordinates, then you will get the distance from that point to the floor plane. This is the shortest distance to the plane, which means a vector perpendicular to the plane is made to your point, and then take the length of that vector gives you the distance.
这篇关于楼层确定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!