Skip to content

Commit

Permalink
revert debug
Browse files Browse the repository at this point in the history
  • Loading branch information
epernod committed Feb 3, 2025
1 parent 529246d commit 520cc28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sofa/framework/Geometry/src/sofa/geometry/Edge.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,6 @@ struct Edge

const Node pX = pA + alpha * AB;
const Node pY = pC + beta * CD;
std::cout << "alpha: " << alpha << " beta: " << beta << std::endl;
std::cout << "pX: " << pX << " pY: " << pY << std::endl;

if (alpha < 0 || beta < 0 // if alpha or beta < 0 means on the exact same line but no overlap.
|| alpha > 1 || beta > 1 // if alpha > 1 means intersection but after outside from [AB]
Expand Down

0 comments on commit 520cc28

Please sign in to comment.