mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0029102: Missing points using GCPnts_QuasiUniformDeflection
Correct the method PerformCurve of GCPnts_QuasiUniformDeflection to get the proper derivative at the end of the current curve. Improve the Draw commands "crvpoints" and "crvtpoints" so that to work with wires as composite curves.
This commit is contained in:
23
tests/bugs/moddata_3/bug29102
Normal file
23
tests/bugs/moddata_3/bug29102
Normal file
@@ -0,0 +1,23 @@
|
||||
puts "======="
|
||||
puts "0029102"
|
||||
puts "======="
|
||||
puts ""
|
||||
##################################################
|
||||
# Missing points using GCPnts_QuasiUniformDeflection
|
||||
##################################################
|
||||
|
||||
brestore [locate_data_file bug29102_Wire.brep] w
|
||||
|
||||
set info [crvpoints r w 0.0005]
|
||||
|
||||
regexp "Max defl: +(\[-0-9.+eE\]+)" $info full defl
|
||||
|
||||
if {$defl > 0.0006} {
|
||||
puts "Error: deflection $defl is greater than expected 0.0005"
|
||||
} else {
|
||||
puts "OK: deflection $defl is within limit 0.0006"
|
||||
}
|
||||
|
||||
smallview +X+Y
|
||||
fit
|
||||
set only_screen_axo 1
|
Reference in New Issue
Block a user