pymeshfix.PyTMesh.select_intersecting_triangles#

PyTMesh.select_intersecting_triangles(self, tris_per_cell: int = 50, justproper: bool = False) numpy.ndarray[dtype=int32, shape=(*, *), order='C']#

Select intersecting triangles in the mesh.

Parameters:
  • tris_per_cell (int, default: 50) – The depth of the recursive space subdivision used to keep the complexity under a reasonable threshold. The default value is safe in most cases.

  • justproper (bool, default: False) – If justproper is true, coincident edges and vertices are not regarded as intersections even if they are not common subsimplexes.

Returns:

Face array shaped (m, 3) of self-intersecting triangles.

Return type:

np.ndarray[np.int32]