GenericElement.compute_collisions
- GenericElement.compute_collisions(other, tolerance=1e-06, min_depth=0.0001)
Detect volumetric collision between this element and another.
Operates on world-coord meshes derived from the tessellated
visual_geometry(see_world_mesh()).- Parameters:
- otherGenericElement
The other element.
- tolerancefloat, optional
Numerical tolerance for the ray-triangle intersection test.
- min_depthfloat, optional
Minimum penetration depth to count as a collision (excludes touching pairs).
- Returns:
- list[Point]
Penetrating vertices (empty if no collision).