mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
CR23683: Geom_BSplineSurface incorrectly determines continuity for periodic cases
Add a checking into files Geom_OffsetSurface.cxx, Geom_OffsetCurve.cxx, Geom2d_OffsetCurve.cxx , which try to make continuity of bspline surfaces and curves more than C0 to build offset. Delete duplicate code and checkings Prevent change of offset curve / surface when exception is raised due to attempt to set new C0 basis curve / surface Added new QA command OCC23683. Added test case bugs/moddata_3/bug23683
This commit is contained in:
20
tests/bugs/moddata_3/bug23683
Normal file
20
tests/bugs/moddata_3/bug23683
Normal file
@@ -0,0 +1,20 @@
|
||||
puts "================"
|
||||
puts "OCC23683"
|
||||
puts "================"
|
||||
puts ""
|
||||
|
||||
pload QAcommands
|
||||
|
||||
restore [locate_data_file bug23683_a_31_draw] result
|
||||
set info [OCC23683 result]
|
||||
|
||||
if { [regexp "iscnu: OK" $info] != 1 } {
|
||||
puts "Error : ucontinuity is incorrect"
|
||||
}
|
||||
|
||||
if { [regexp "iscnv: OK" $info] != 1 } {
|
||||
puts "Error : vcontinuity is incorrect"
|
||||
}
|
||||
|
||||
set 2dviewer 0
|
||||
|
Reference in New Issue
Block a user