MantisBT - Community
View Issue Details
0024347Community[OCCT] OCCT:Modeling Algorithmspublic2013-11-12 08:372014-09-11 11:48
Hayashi 
abv 
normalminor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.6.0 
[OCCT] 6.7.1[OCCT] 6.7.1 
bugs modalg_5 bug24347
0024347: problem by tolerance of the distance of Face and Vertex
If tolerance of attached Face is 4.e-6 or more, the distance of Boundary and Vertex will be returned.
pload ALL
restore face.brep f
vertex v 34.265509314637 0.1 0.73361964922719

settolerance f 3.e-6
distmini d1 f v
#the distance value is : 2.92687e-014

settolerance f 4.e-6
distmini d1 f v
#the distance value is : 0.0165367

No tags attached.
? face.brep (8,973) 2013-11-12 08:37
https://tracker.dev.opencascade.org/
Issue History
2013-11-12 08:37HayashiNew Issue
2013-11-12 08:37HayashiAssigned To => ifv
2013-11-12 08:37HayashiFile Added: face.brep
2014-04-23 04:28HayashiNote Added: 0029025
2014-04-23 08:32abvTarget Version => 6.7.1
2014-04-25 19:35abvNote Added: 0029084
2014-04-25 19:35abvAssigned Toifv => mkv
2014-04-25 19:35abvStatusnew => feedback
2014-04-28 12:02bugmasterAssigned Tomkv => apn
2014-04-28 15:25apnNote Added: 0029100
2014-04-28 15:25apnTest case number => bugs modalg_5 bug24347
2014-04-28 15:25apnAssigned Toapn => bugmaster
2014-04-28 15:25apnStatusfeedback => tested
2014-05-05 17:24abvChangeset attached => occt master 21761b6f
2014-05-05 17:24abvAssigned Tobugmaster => abv
2014-05-05 17:24abvStatustested => verified
2014-05-05 17:24abvResolutionopen => fixed
2014-09-11 11:48bugmasterStatusverified => closed
2014-09-11 11:48bugmasterFixed in Version => 6.7.1

Notes
(0029025)
Hayashi   
2014-04-23 04:28   
It seems that this issue is solved by OCC6.7.1 beta.

The result:

--OCC6.6.0
Draw[9]> settolerance f 4.e-6
Setting Tolerance to 3.9999999999999998e-006
Draw[10]> distmini d1 f v
d1_val d1
Draw[11]> dump d1_val
*********** Dump of d1_val *************
0.0165367029537048

--OCC6.7.0
Draw[9]> settolerance f 4.e-6
Setting Tolerance to 3.9999999999999998e-006
Draw[10]> distmini d1 f v
d1_val d1
Draw[11]> dump d1_val
*********** Dump of d1_val *************
0.0165367029537048

--OCC6.7.1beta
Draw[9]> settolerance f 4.e-6
Setting Tolerance to 3.9999999999999998e-006
Draw[10]> distmini d1 f v
d1_val d1
Draw[11]> dump d1_val
*********** Dump of d1_val *************
2.72742879238428e-014
(0029084)
abv   
2014-04-25 19:35   
Please add a test case and close the issue if it is Ok
(0029100)
apn   
2014-04-28 15:25   
Branch CR24347 was created.
Testing case:
bugs modalg_5 bug24347 - OK