intersection_mesh_mesh

compas_cgal.intersections.intersection_mesh_mesh(A: Union[Tuple[nptyping.types._ndarray.NDArray, nptyping.types._ndarray.NDArray], Tuple[List[List[float][List[float]]], List[List[int][List[int]]]]], B: Union[Tuple[nptyping.types._ndarray.NDArray, nptyping.types._ndarray.NDArray], Tuple[List[List[float][List[float]]], List[List[int][List[int]]]]]) → List[nptyping.types._ndarray.NDArray][source]

Compute the intersection of tow meshes.

Parameters
  • A (tuple of vertices and faces) – Mesh A.

  • B (tuple of vertices and faces) – Mesh B.

Returns

list of arrays of points – The intersection polylines as arrays of points.