Anonymous | Login | 2021-01-19 15:28 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0026436 | Community | [OCCT] OCCT:Foundation Classes | public | 2015-07-15 09:51 | 2015-07-15 09:51 | ||||||||
Reporter | shlkl99 | ||||||||||||
Assigned To | abv | ||||||||||||
Priority | normal | Severity | major | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | Windows | OS | VC++ 2010 | OS Version | 32 bit | ||||||||
Product Version | [OCCT] 6.7.1 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0026436: wrong answer happened in math_FunctionSetRoot and math_NewtonFunctionSetRoot | ||||||||||||
Description | when I used math_FunctionSetRoot and math_NewtonFunctionSetRoot with a starting point and search a nearest point in surface ,I got a wrong answer. | ||||||||||||
Steps To Reproduce | 1. read single.iges which is attached in attachment( Unit is INCH) 2. get the TopoDS_Face (only one) 3. use this code: gp_Pnt RPnt(0.76939999999999997,0.43602000000000002,0.096347500000000003); Extrema_FuncExtPS myF; myF.Initialize(mySurf); myF.SetPoint(RPnt); math_Vector Tol(1,2); Tol(1) = 1.0e-7; Tol(2) = 1.0e-7; use this UV as starting point: myU=0.93874102160579254 myV=0.10000000000000001 4. use math_FunctionSetRoot and get the result: result is : coord = {x=0.76940000134300002 y=0.43333300000000002 z=0.094666646950000002 } display in view you will see the tolorence is very large because the RPnt is on surface , so the right answer is the same point as PRnt when I use math_NewtonFunctionSetRoot, I can not get the answer because it is divergent | ||||||||||||
Additional information and documentation updates | I do think the high version of OCC does not make any change in this two function compared with OCC 6.7.1 | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | ![]() | ||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2015-07-15 09:51 | shlkl99 | New Issue | |
2015-07-15 09:51 | shlkl99 | Assigned To | => abv |
2015-07-15 09:51 | shlkl99 | File Added: single.iges |
Copyright © 2000 - 2021 MantisBT Team |