Changes

Summary

  1. [Geometry] Update method intersectionWithEdge signature and redirect all methods to it in EdgeSetGeometryAlgorithms (#4194) (details)
Commit df6198ac81e2cacab1ef2680528b9f4d6d8d3b8f by noreply
[Geometry] Update method intersectionWithEdge signature and redirect all methods to it in EdgeSetGeometryAlgorithms (#4194)

* [Geometry] Update method signature of intersectionWithEdge to pass barycentric coordinates instead of 3D coord.

* [Topology.Container] Update all method compute2EdgesIntersection to use the generic method in Edge class

* Apply suggestions from code review

Co-authored-by: Frederick Roy <fredroy@users.noreply.github.com>

* Update EdgeSetGeometryAlgorithms.inl

* Update EdgeSetGeometryAlgorithms.inl

* fix sofacuda

* Fix snapping error

* Fix incision test output values

* Update Sofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/EdgeSetGeometryAlgorithms.h

Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>

---------

Co-authored-by: Frederick Roy <fredroy@users.noreply.github.com>
Co-authored-by: Frederick Roy <froy@lnrobo.com>
Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
The file was modifiedSofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/EdgeSetGeometryAlgorithms.inl (diff)
The file was modifiedSofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/TriangleSetGeometryAlgorithms.inl (diff)
The file was modifiedSofa/framework/Geometry/test/Edge_test.cpp (diff)
The file was modifiedexamples/Component/Topology/Container/Dynamic/IncisionTrianglesProcess.scn (diff)
The file was modifiedSofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/EdgeSetGeometryAlgorithms.h (diff)
The file was modifiedSofa/Component/Topology/Utility/tests/TopologicalChangeProcessor_test.cpp (diff)
The file was modifiedSofa/framework/Geometry/src/sofa/geometry/Edge.h (diff)