boolean_intersection_mesh_mesh

compas.geometry.boolean_intersection_mesh_mesh(A, B)[source]

Compute the boolean intersection of two triangle meshes.

Parameters
  • A (tuple[sequence[point], sequence[[int, int, int]]]) – The vertices and faces of mesh A.

  • B (tuple[sequence[point], sequence[[int, int, int]]]) – The vertices and faces of mesh B.

Returns

tuple[list[point], list[[int, int, int]]] – The vertices and the faces of the boolean intersection.