如何找到重叠的项目? [英] How to find overlapped items?

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

问题描述

是否有可能找出一个人是否绘制的这是不是在一个水平或垂直位置)重叠(或感动)任何其他物品(如直线,矩形,圆形等)。请告诉我的可能性和解决方案的例子。

Is it possible to find out whether one drawing line (which is not in a horizontal or vertical position) overlapped (or touched) any other items (like line, rectangle, circle etc). Kindly advise me on the possibilities and solution with examples.

感谢您寻找到这...

Thanks for looking into this...

推荐答案

当然这是可能的。看看<一href="http://www.google.com/#hl=en&q=math+programming+collision+detection&aq=f&oq=math+collision+detection&aqi=&aq=f&oq=&aqi=&fp=VEE02fthf5k"相对=nofollow>碰撞检测的。一些图书馆和语言有一定的功能,这使得这个比其他人更容易。你需要给你的有关申请更具体的帮助更多的细节。

Sure it's possible. Check out Collision Detection. Some libraries and languages have certain features which makes this easier than others. You'll need to give more details regarding your application for more specific assistance.

这篇关于如何找到重叠的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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