Mesh to mesh intersections

前端 未结 5 659
予麋鹿
予麋鹿 2020-12-14 22:58

I\'m looking for a library or a paper that describes how to determine if one triangular mesh intersects another.

Interestingly I am coming up empty. If there is some

5条回答
  •  误落风尘
    2020-12-14 23:41

    In libigl, we wrap up cgal's CGAL::box_intersection_dto intersect a mesh with vertices V and faces F with another mesh with vertices U and faces G, storing pairs of intersecting facets as rows in IF:

    igl::intersect_other(V,F,U,G,false,IF);
    

    This will ignore self-intersections. For completeness, I'll mention that we also support self-intersections in a separate function:

    igl::self_intersect(V,F,...,IF);
    

提交回复
热议问题