Mismatch between projected point and parameter in ShapeAnalysis_Curve::Project #345
Labels
1. Modeling
Boolean operations, offsets, primitives, any conversion, brep builders and etc...
2. Bug
Something isn't working
Milestone
Description
In this case a point is projected on a wire and the returned projected point is different then the point the returned parameter yields.
Debugging yields that the correct projection and parameter are found in a first attempt. It then tries to find a better solution but it doesn't find one where the distance is less then the first found. It now restores the first found distance and parameter but doesn't restore the first projected point.
See below code
OCCT/src/ShapeAnalysis/ShapeAnalysis_Curve.cxx
Lines 392 to 398 in cc30b93
Expected Behavior
The returned projection and parameter match.
Actual Behavior
The returned projection and parameter mismatch.
Sample Code or DRAW Tcl Script
Operating System
Windows
Compiler
MSVC
Bitness
64-bit
OCCT Version
latest
Additional Files
No response
The text was updated successfully, but these errors were encountered: