Anonymous | Login 2020-12-05 03:32 MSK Project: All Projects Community Open CASCADE
 My View | View Issues | Change Log | Roadmap

View Issue Details  Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0024803Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2014-04-07 14:422015-05-14 16:25
Reporteribs
Assigned Tobugmaster
PrioritynormalSeverityminor
StatusclosedResolutionfixed
PlatformOSOS Version
Product Version[OCCT] 6.7.0
Target Version[OCCT] 6.9.0Fixed in Version[OCCT] 6.9.0
Summary0024803: improve the result of v/v interference for two vertices case
DescriptionThe center of enclosing vertex of two vertices is calculated as the center of line connecting these vertices. The radius of enclosing vertex is the distance from enclosing vertex center to the center of being enclosed vertex with maximum radius. (for more details you can read "General Fuse Algorithm,Boolean Operations Algorithm, Partition Algorithm" article, 0024649,chapter 4.1.1. Vertex/Vertex interference)

for case when two vertices have equal radii this approach is correct, but otherwise there is the need to do calculation in a different way.

say, a ball is a vertex with some radius.

if some ball encloses two some other balls. there is a smallest enclosed ball that covers and _touches_ these two balls.

there is the need to calculate the center of enclosing ball and its radius for the case when being enclosing two balls have different radii
Steps To Reproducevertex v1 0 0 0
settolerance v1 1.0

vertex v2 4 0 0
settolerance v2 3.5

bop v1 v2
bopcommon result
tolerance result

dump result
#
# the result is:
...
TShape # 2 : VERTEX 0101101 7EF2FCC0
Tolerance : 5.5
- Point 3D : 2, 0, 0
#
# but it should be:
...
TShape # 2 : VERTEX 0101101 7EF2FCC0
Tolerance : 4.25
- Point 3D : 3.25, 0, 0

TagsNo tags attached.
Test case numberbugs modalg_6(011) bug24803
Attached Files emclosing_vertex.PNG (14,269 bytes) 2015-03-24 18:39
enclosing_vertex_corrected.PNG (12,530 bytes) 2015-03-24 18:47

 Relationships