Intersections¶
Determine if the mesh has self intersections.
The collision mesh.
Vertices of the collision mesh.
- broad_phase_method
The broad phase method to use.
A boolean for if the mesh has intersections.
-
bool ipc::is_edge_intersecting_triangle(
Eigen::ConstRef<Eigen::Vector3d> e0,
Eigen::ConstRef<Eigen::Vector3d> e1,
Eigen::ConstRef<Eigen::Vector3d> t0,
Eigen::ConstRef<Eigen::Vector3d> t1,
Eigen::ConstRef<Eigen::Vector3d> t2);¶ Check if an edge intersects a triangle.