1
0
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:
Roman Lygin
2013-04-17 15:26:49 +04:00
parent 973f1c39ac
commit 06be28a4f1
10 changed files with 221 additions and 207 deletions

View 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