Salome HOME
Bug fix: seg seg intersector epsilon is to be taken absolutely for colinearity test:
authorabn <adrien.bruneton@cea.fr>
Mon, 7 Jan 2019 16:10:39 +0000 (17:10 +0100)
committerabn <adrien.bruneton@cea.fr>
Thu, 10 Jan 2019 12:52:35 +0000 (13:52 +0100)
commit32696b3a19745bf50a66ca42066b42cb0f3b71f3
treed8c9cc427c7203f4bf7c2b26c57ee866f8ca5f42
parented26f73bb07b412b350ed1e42ec92bbb4f08a0e0
Bug fix: seg seg intersector epsilon is to be taken absolutely for colinearity test:

+ even for very small vectors we don't want to have false positive on colinearity. So go back to a comparison with an angle.
+ removed spurious *2 in comparison
+ test IntersectionPointOnlyUnitarySegSeg precision was relaxed a bit
src/INTERP_KERNEL/Geometric2D/InterpKernelGeo2DEdgeLin.cxx
src/INTERP_KERNELTest/QuadraticPlanarInterpTest.cxx