首页 | 本学科首页   官方微博 | 高级检索  
     

基于2D不适合多边形的长方体碰撞检测算法
引用本文:黎自强,滕弘飞.基于2D不适合多边形的长方体碰撞检测算法[J].计算机工程,2008,34(20):241-243.
作者姓名:黎自强  滕弘飞
作者单位:1. 大连理工大学计算机科学与工程系,大连,116024;湘潭大学信息工程学院,湘潭,411105;精密与特种加工教育部重点实验室,大连,116024
2. 大连理工大学计算机科学与工程系,大连,116024;大连理工大学机械工程学院,大连,116024
基金项目:国家自然科学基金,湖南省社会科学基金,国防科技应用基础研究基金
摘    要:对被检测的2个长方体作图形变换,使其中一个长方体的最低顶点和以其作为端点的最长边分别与空间直角坐标系的原点和z轴重合,利用其在坐标平面上正投影的干涉性和空间解析几何理论得出在3D空间中2个长方体不干涉的3种可能情形,根据2D不适合多边形方法分别给出其不干涉判别条件的长方体碰撞检测算法。实验表明该方法具有较快的检测速度。

关 键 词:长方体  碰撞检测  不适合多边形  图形变换  正投影
修稿时间: 

Algorithm of Cuboid Collision Detection Based on 2D-Nofit Plygon
LI Zi-qiang,TENG Hong-fei.Algorithm of Cuboid Collision Detection Based on 2D-Nofit Plygon[J].Computer Engineering,2008,34(20):241-243.
Authors:LI Zi-qiang  TENG Hong-fei
Affiliation:(1. Department of Computer Science and Engineering, Dalian University of Technology, Dalian 116024; 2. School of Information & Engineering, Xiangtan University, Xiangtan 411105; 3. Key Laboratory for Precision & Non-traditional Machining of Ministry of Education, Dalian 116024; 4. School of Mechanical Engineering, Dalian University of Technology, Dalian 116024)
Abstract:This paper conducts transform two cuboids to be detected, so that lowest vertex of one of the two cuboids coincides with coordinates origin and the longest side line-segment parallels to z-axes. Afterward, according to theory of solid analytic geometry and interference of orthographic projections of the two cuboids on coordinate faces, position relation of no interfere for two cuboids in 3D space is divided into three possible cases, and using 2D-nofit polygon the corresponding judgment condition is given out for every one respectively. An algorithm of collision detection for the two cuboids is presented. Experiment shows that detection speed of the approach is faster.
Keywords:cuboid  collision detection  nofit polygon  graph transform  orthographic projection
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号