mimesis-inria / caribou

Multi-physics computation library
GNU Lesser General Public License v3.0
29 stars 17 forks source link

[Topology] Fix intersection test between an hexahedron and a triangle #44

Closed jnbrunet closed 3 years ago

jnbrunet commented 3 years ago

The intersection test between an hexahedron and a triangle wasn't taking into account the triangle's normal in the hexahedron local coordinates. Hence, the triangle nodes were correctly scaled into the hexa's local frame, but its normal was still referencing the triangle in global coordinates.