Model.compute_contacts
- Model.compute_contacts(tolerance=1e-06, minimum_area=0.01)
Compute the contacts between the block elements of this model.
Computing contacts is done independently of the edges of the interaction graph. If contacts are found between two elements with an existing edge, the contacts attribute of the edge will be replaced. If there is no pre-existing edge, one will be added. No element pairs are excluded in the search based on the existence of an edge between their nodes in the interaction graph.
The search is conducted entirely based on the BVH of the elements contained in the model. It is a spatial search that creates topological connections between elements based on their geometrical interaction.
- Parameters:
- tolerancefloat, optional
The distance tolerance.
- minimum_areafloat, optional
The minimum contact size.
- Returns:
- None