:
Tol(aTol),
done(Standard_False),
+ myReady(Standard_False),
nbpnt(0),
PtrOnPolyhedron(NULL),
PtrOnBndBounding(NULL),
if (nbsu > aMaxSamples) nbsu = aMaxSamples;
if (nbsv > aMaxSamples) nbsv = aMaxSamples;
- if (dU > gp::Resolution() && dV > gp::Resolution()) {
+ if (dU > Precision::Confusion() && dV > Precision::Confusion()) {
if (Max(dU, dV) > Min(dU, dV) * aTresh)
{
aMinSamples = 10;
}
}
else {
- if (dU < gp::Resolution()) {
- nbsu = 1;
- }
- if (dV < gp::Resolution()) {
- nbsv = 1;
- }
+ return; // surface has no extension along one of directions
}
Standard_Integer NbUOnS = Hsurface->NbUIntervals(GeomAbs_C2);
new IntCurveSurface_ThePolyhedronOfHInter(Hsurface,nbsu,nbsv,U0,V0,U1,V1);
}
}
+ myReady = Standard_True;
}
//=======================================================================
//function : InternalCall
const Standard_Real ParMin,
const Standard_Real ParMax)
{
+ done = Standard_False;
+ if (!myReady)
+ {
+ return;
+ }
done = Standard_True;
SeqPnt.Clear();
mySeqState.Clear();
const Standard_Real ParMin,
const Standard_Real ParMax)
{
+ done = Standard_False;
+ if (!myReady)
+ {
+ return;
+ }
done = Standard_True;
SeqPnt.Clear();
// Modified by skv - Wed Sep 3 16:14:10 2003 OCC578 Begin
--- /dev/null
+puts "========================"
+puts "0030790: Crash when loading specific step file"
+puts "========================"
+
+puts "TODO 30790 ALL: Faulty shapes in variables faulty_1 to"
+
+stepread [locate_data_file bug30790.step] a *
+
+tpcompound result
+
+checkshape result
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png
# !!!! This file is generated automatically, do not edit manually! See end script
puts "TODO CR23096 ALL: Update of 3D-Parameters has failed"
puts "TODO CR23096 ALL: CHECKSHAPE : Faulty"
-
+puts "TODO CR23096 ALL: Error : 2 differences with reference data found"
set filename 53921163S0.stp