ASI1.Perform(scur);
Standard_Integer sens = 1;
if(ASI1.IsDone() && ASI1.NbPoints(1) >= 1) {
- if(ASI1.Point(1, 1).Parameter() < 0. &&
- ASI1.Point(1, ASI1.NbPoints(1)).Parameter() < 0.) {
+ if(ASI1.Point(1, 1).Parameter() + Precision::Confusion() < 0. &&
+ ASI1.Point(1, ASI1.NbPoints(1)).Parameter() + Precision::Confusion() < 0.) {
sens = -1;
}
}
-puts "TODO CR26697 ALL: Error : is WRONG because number of SHAPE entities"
-
puts "================"
-puts "CR26697"
+puts "bug26697: BRepFeat_MakePrism returns empty compound"
puts "================"
puts ""
-###############################################
-## BRepFeat_MakePrism returns empty compound
-###############################################
restore [locate_data_file bug26697_aBase.brep] aB
restore [locate_data_file bug26697_aFrom.brep] aF
restore [locate_data_file bug26697_aTo.brep] aT
featprism aB aB aB 0 -1 0 2 1
-featperform prism aR aF aT
+featperform prism result aF aT
-checknbshapes aR -shape 2
+checknbshapes result -face 3
checkview -display result -2d -path ${imagedir}/${test_image}.png