System and method for detecting article collision
The invention relates to a method for detecting article collision, which comprises the following steps: generating a cuboid for framing an article to be detected in a three-dimensional local coordinate system; generating a sphere which is fixed on the three-dimensional local coordinate system accord...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
28.03.2012
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a method for detecting article collision, which comprises the following steps: generating a cuboid for framing an article to be detected in a three-dimensional local coordinate system; generating a sphere which is fixed on the three-dimensional local coordinate system according to the cuboid; obtaining a sphere center coordinate value of the sphere on a world coordinate system according to the sphere center coordinate value of the sphere on the three-dimensional local coordinate system; calculating the sphere center distance of two spheres generated by two articles tobe detected on the world coordinate system; judging whether the sphere center distance is larger than the summation of two radii of the spheres generated by the two articles to be detected or not; ifthe sphere center distance is not larger than the summation of the two radii of the spheres generated by the two articles to be detected, then judging that the two articles have collision; and if thesphere center distance is l |
---|---|
Bibliography: | Application Number: CN20081300685 |