pymeshfix.PyTMesh.select_intersecting_triangles

PyTMesh.select_intersecting_triangles()

Selects all intersecting triangles.

Selects all the triangles that unproperly intersect other parts of the mesh and return their number. The parameter ‘tris_per_cell’ determines the depth of the recursive space subdivision used to keep the complexity under a resonable threchold. The default value is safe in most cases.

if justproper is true, coincident edges and vertices are not regarded as intersections even if they are not common subsimplexes.

Returns

Array of face indices.

Return type

numpy.ndarray

Examples

>>> faces = tin.select_intersecting_triangles()