Provide proper initialization of the field Geom_OffsetSurface::myOscSurf in the case of creating offset of the trimmed bspline surface.
Adjusting test cases according to their new behavior.
equivSurf = Surface();
- if (basisSurf->IsKind(STANDARD_TYPE(Geom_BSplineSurface)) ||
- basisSurf->IsKind(STANDARD_TYPE(Geom_BezierSurface)))
+ if (aCheckingSurf->IsKind(STANDARD_TYPE(Geom_BSplineSurface)) ||
+ aCheckingSurf->IsKind(STANDARD_TYPE(Geom_BezierSurface)))
{
// Tolerance en dur pour l'instant ,mais on devrait la proposer dans le constructeur
// et la mettre en champ, on pourrait utiliser par exemple pour l'extraction d'iso
// et aussi pour les singularite. Pour les surfaces osculatrices, on l'utilise pour
// detecter si une iso est degeneree.
const Standard_Real Tol = Precision::Confusion(); //0.0001;
- myOscSurf = new Geom_OsculatingSurface(basisSurf, Tol);
+ myOscSurf = new Geom_OsculatingSurface(aCheckingSurf, Tol);
}
// Surface value calculator
+puts "TODO OCC27929 ALL: Error : The area of result shape is"
+puts "TODO OCC27929 ALL: Error : is WRONG because number of "
+
+
puts "============"
puts "OCC8842"
puts "============"
-#puts "TODO OCC26577 All: Error : is WRONG because number of EDGE entities in shape"
-#puts "TODO OCC26577 All: Error : is WRONG because number of SHELL entities in shape"
-puts "TODO 26329 All: Standard_ConstructionError: BRepOffset_MakeOffset::TrimEdge no projection"
-puts "TODO 26329 All: TEST INCOMPLETE"
-
+puts "TODO OCC26577 All: Error : is WRONG because number of EDGE entities in shape"
+puts "TODO OCC26577 All: Error : is WRONG because number of SHELL entities in shape"
restore [locate_data_file bug26663_test_offset_J9.brep] s
OFFSETSHAPE ${off_param} {} ${calcul} ${type}
checknbshapes result -ref [lrange [nbshapes s] 8 19]
-#puts "TODO OCC26578 All:An exception was caught"
-#puts "TODO OCC26578 All:\\*\\* Exception \\*\\*"
-#puts "TODO OCC26578 All:TEST INCOMPLETE"
-puts "TODO OCC26578 All: Error : is WRONG because number of EDGE"
-puts "TODO OCC26578 All: Error : is WRONG because number of SHELL"
-#puts "TODO OCC26578 All: Faulty shapes in variables faulty_1"
+puts "TODO OCC26578 All:An exception was caught"
+puts "TODO OCC26578 All:\\*\\* Exception \\*\\*"
+puts "TODO OCC26578 All:TEST INCOMPLETE"
restore [locate_data_file bug26663_test_offset_J9.brep] s
OFFSETSHAPE ${off_param} {} ${calcul} ${type}
checknbshapes result -ref [lrange [nbshapes s] 8 19]
-#puts "TODO OCC26578 All:An exception was caught"
-#puts "TODO OCC26578 All:\\*\\* Exception \\*\\*"
-puts "TODO OCC26578 All:is WRONG"
-puts "TODO OCC26578 All:Faulty shapes in variables faulty_1 to faulty_"
-#
+puts "TODO OCC26578 All:An exception was caught"
+puts "TODO OCC26578 All:\\*\\* Exception \\*\\*"
+puts "TODO OCC26578 All:TEST INCOMPLETE"
restore [locate_data_file bug26663_test_offset_K8.brep] s
OFFSETSHAPE ${off_param} {} ${calcul} ${type}
checknbshapes result -ref [lrange [nbshapes s] 8 19]