1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

Extract of fixes from 0024682: Move out B-spline cache from curves and surfaces to dedicated classes BSplCLib_Cache and BSplSLib_Cache

4. Precised calculation of derivatives of surface of revolution is implemented for the points of surface placed on the axis of revolution (Geom_SurfaceOfRevolution.cxx)

5. Small modifications are made to adjust algorithms to new behavior of B-spline calculation.

6. Test cases were modified according to the modern behavior.

7. Changes in BRepLib_CheckCurveOnSurface to use adaptors instead of geometric entities

9. Added methods to access directly poles, knots, multiplicities of BSpline curves and surfaces
This commit is contained in:
azv
2015-05-28 13:36:57 +03:00
committed by abv
parent f44d9449e4
commit 5520ae9665
72 changed files with 439 additions and 146 deletions

View File

@@ -1,6 +1,5 @@
# Original bug : pro10658
# Date : 24mar98
puts "TODO #26080 ALL: Faulty shapes in variables faulty_1"
puts "TODO ALL Error : The area of the resulting shape is"
restore [locate_data_file CTO900_pro10658a.rle] a
restore [locate_data_file pro10658b.rle] b

View File

@@ -1,5 +1,4 @@
# pro10658
puts "TODO #26080 ALL: Faulty shapes in variables faulty_1"
puts "TODO ALL Error : The area of the resulting shape is"
restore [locate_data_file CTO900_pro10658a.rle] a
restore [locate_data_file pro10658b.rle] b

View File

@@ -18,7 +18,10 @@ compound result
repeat 21 {
plane p_$i 0 $i*100 0 0 1 0
mkface f_$i p_$i
bsection s_$i b f_$i
set bsres [bsection s_$i b f_$i]
if { [regexp {Error} $bsres] } {
puts "Error: bsection not done"
}
compound result s_$i result
set dist [expr $i * 100]
puts "OK Section:$dist"

View File

@@ -8,7 +8,10 @@ set i 1
repeat 199 {
plane p_$i 0 $i*100 0 0 1 0
mkface f_$i p_$i
bsection s_$i a f_$i
set bsres [bsection s_$i a f_$i]
if { [regexp {Error} $bsres] } {
puts "Error: bsection not done"
}
compound result s_$i result
set dist [expr $i * 100]
puts "OK Section:$dist"

View File

@@ -1,7 +1,7 @@
# test script on make volume operation
# cone cylinder plane
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Windows: Error: bopcheck failed"
# planar face
plane pln_f1 27.577164466275352 -1038.2137499999999 27.577164466275359 0.70710678118654746 4.4408920985006262e-016 0.70710678118654768