如何找到圆柱上是否有点? [英] how to find if point is on the cylinder or not?

查看:97
本文介绍了如何找到圆柱上是否有点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





任何关于找到点的想法,例如(4,5)都存在于具有中心起点和终点的半径中,

Hi,

Any idea about to find the point e.g.(4,5)is present in the cylinder with center start point and end point with radius,

推荐答案

似乎你不知道什么是圆柱体 - 在几何中。这是一个3D对象,所以你的2D方法一直都是错误的。

这里你可以遵循的步骤:

1.了解cylinder [ ^ ]

2.谷歌提出您的问题(样本查找 - http://www.flipcode.com/archives/Fast_Point-In-Cylinder_Test.shtml [ ^ ])
It seems you have no idea what cylinder is - in geometry. It's a 3D object so your approach of 2D seems wrong all the way.
Here the steps you may follow:
1. Learn about cylinder[^]
2. Google for your question (sample finding - http://www.flipcode.com/archives/Fast_Point-In-Cylinder_Test.shtml[^])


这篇关于如何找到圆柱上是否有点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆