mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
1. The procedures for check of coincidence between Edge-Edge and Edge-Face have been added. These methods are used instead of searching interferences between corresponding sub-shapes. In most cases (including case for this issue), new methods are more reliable and faster than intersections. However, its use should be avoided in case when the edge is not coincide with edge/face of another argument evidently (e.g. if edge vertices are not in another edge/face). 2. Interface of both IntTools_EdgeFace and IntTools_EdgeEdge has been changed (adding/deleted some field and methods). Some test cases have been corrected in accordance with their new behavior. Test case for issue CR26132.
25 lines
502 B
Plaintext
Executable File
25 lines
502 B
Plaintext
Executable File
#puts "TODO OCC27024 ALL: Error : The length of result shape is"
|
|
|
|
puts "============="
|
|
puts "BUC60462"
|
|
puts "============="
|
|
puts "Section"
|
|
puts ""
|
|
|
|
restore [locate_data_file buc60462a.brep] a
|
|
checkshape a
|
|
restore [locate_data_file buc60462b.brep] b
|
|
checkshape b
|
|
bsection result a b
|
|
|
|
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full cs
|
|
|
|
if { $cs != 0 } {
|
|
puts "Faulty : Section is incorrect"
|
|
}
|
|
|
|
checkprops result -l 282.421
|
|
checkshape result
|
|
checksection result
|
|
set 2dviewer 0
|