Function parry3d_f64::transformation::intersect_meshes

source ยท
pub fn intersect_meshes(
    pos1: &Isometry<Real>,
    mesh1: &TriMesh,
    flip1: bool,
    pos2: &Isometry<Real>,
    mesh2: &TriMesh,
    flip2: bool
) -> Result<Option<TriMesh>, MeshIntersectionError>
Expand description

Computes the intersection of two meshes.

The meshes must be oriented, have their half-edge topology computed, and must not be self-intersecting. The result mesh vertex coordinates are given in the local-space of mesh1.