fedoo.Mesh.find_coincident_nodes

Mesh.find_coincident_nodes(tol: float = 1e-08) ndarray[int]

Find some nodes with the same position considering a tolerance given by the argument tol.

return an array of shape (number_coincident_nodes, 2) where each line is a pair of nodes that are at the same position. These pairs of nodes can be merged using :

meshObject.merge_nodes(meshObject.find_coincident_nodes())

where meshObject is the Mesh object containing merged coincidentNodes.

Detection here uses a round-to-tolerance lexsort. For a distance-based (KDTree) detector that also collapses clusters of 3+ coincident nodes in one call, see merge_coincident_nodes().