void manualViewContour::RefreshContour() // virtual
{
int i,np,nps;
-
//JSTG 25-02-08 --------------------
//double t,delta, x,y,z;
double x,y,z;
//--------------------------------------------------------------
// EED 27 sep 2006
// _pts->SetPoint(i, x,y,z );
- xx=x*_spc[0];
- yy=y*_spc[1];
- zz=z*_spc[2];
+ xx = x*_spc[0];
+ yy = y*_spc[1];
+ zz = z*_spc[2];
_pts->SetPoint(i,xx,yy,zz );
//EED 27 Juin 2012
if (yy < _minY) { _minY = yy; }
if (xx > _maxX) { _maxX = xx; }
if (yy > _maxY) { _maxY = yy; }
-
}// for
}else{
_pts->SetPoint(0, 0 , 0 , 0);
_maxY=_maxY+1.0;
//EED 2017-03-02
- _pts->Modified();
+ if (_pts!=NULL)
+ {
+ _pts->Modified();
+ }
}
// ----------------------------------------------------------------------------