GeomFill_Sweep.cxx: treatment KPart for sphere is improved
bug26088: test case is corrected - TODO is removed
isUReversed = Standard_True;
}
+ if (Abs(l - f) <= Precision::PConfusion() ||
+ Abs(UlastOnSec - UfirstOnSec) > M_PI_2)
+ {
+ // l == f - "degenerated" surface
+ // UlastOnSec - UfirstOnSec > M_PI_2 - "twisted" surface,
+ // it is impossible to represent with help of trimmed sphere
+ return Ok;
+ }
+
if ( (f >= -M_PI/2) && (l <= M_PI/2)) {
Ok = Standard_True;
myExchUV = Standard_True;
-puts "TODO OCC26088 ALL: An exception was caught"
-puts "TODO OCC26088 ALL: TEST INCOMPLETE"
-
puts "========"
puts "0026088: E x c e p t i o n in pipe algorithm"
puts "========"
restore [locate_data_file bug26088_path0.brep] p
restore [locate_data_file bug26088_profile0.brep] pr
+# result is invalid shape (twisted surface) because of placement
+# path and profile
pipe result p pr
+
+smallview
+fit
+checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+
+puts "TEST COMPLETED"
\ No newline at end of file