aFaceBox.Get(X1,Y1,Z1,X2,Y2,Z2);
// Build sections from Zmin to Zmax with step aStep
- Standard_Boolean wasBuilt = Standard_False;
double gmaxdist = 0.0, gzmax = Zmax;
for (double zcur = Zmax; zcur > Zmin; zcur -= aStep)
{
Standard_Real toler = BRep_Tool::Tolerance(aV);
double dist = pl.Distance(BRep_Tool::Pnt(aV));
if (dist > lmaxdist) lmaxdist = dist;
- wasBuilt = Standard_True;
// If section was built check distance beetwen vertexes and plane of the one
str[0] =0;
// if (wasBuilt)