0022883: EDF GEOM: Regression with GetShapesOnQuadrangle

This commit is contained in:
skv 2015-03-17 16:15:29 +03:00
parent dd3f6ee542
commit 4d29dbe5a8

View File

@ -138,6 +138,7 @@ void GEOMAlgo_ClsfQuad::GetCorners(gp_Pnt &theTopLeftPoint,
//======================================================================= //=======================================================================
void GEOMAlgo_ClsfQuad::CheckData() void GEOMAlgo_ClsfQuad::CheckData()
{ {
myErrorStatus = 0;
if (myQuadNormal.SquareMagnitude() <= DBL_MIN) { if (myQuadNormal.SquareMagnitude() <= DBL_MIN) {
myErrorStatus = 10; // undefined quadrangle normal. myErrorStatus = 10; // undefined quadrangle normal.