Intersection of ellipsoid based on knn search

1 次查看(过去 30 天)
I have to determine intersection of 2 ellipsoids. For this, I have created the ellipsoids using the function ellipsoid(0,0,0,xc,yc,zc,10). Then I used knn search to query for points with zero distance for points representing coordinates of the ellipsoids. This method is flawed because the distance is checked only for points of the mesh. (121 points in my case for each ellipsoid, since I have taken mesh size to be 10.) So using knn search if only the points are checked, it is likely that the surface between the points can still intersect and not be detected. Hence one way would be to have a very large meshsize so that the points are close enough to represent the surface of the ellipsoid. This is computationally very expensive and time consuming. Any idea on how do it using knn search ?
  1 个评论
Massimo Torricelli
Massimo Torricelli 2011-8-31
Hello, I'm looking for the solution of the same problem... have you found it?
Massimo

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by