DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024347

problem by tolerance of the distance of Face and Vertex

CommunityOCCT:Modeling Algorithmsclosed3 public notes

Search issues

Description

If tolerance of attached Face is 4.e-6 or more, the distance of Boundary and Vertex will be returned.

Steps to reproduce

pload ALL
restore Attachment 1 (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

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Author
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.[revision removed]-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.[revision removed]-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.[revision removed]-006
Draw[10]> distmini d1 f v
d1_val d1
Draw[11]> dump d1_val
*********** Dump of d1_val *************
2.72742879238428e-014
02Commenter 2
Please add a test case and close the issue if it is Ok
03Commenter 1
Branch CR24347 was created.
Testing case:
bugs modalg_5 bug24347 - OK