0021868: EDF GEOM : Bug with "What is"

This commit is contained in:
vsr 2012-09-24 15:10:59 +00:00
parent 00621ab4f3
commit 2a00c4658c

View File

@ -570,9 +570,11 @@ void GEOMAlgo_ShapeInfoFiller::FillEdge(const TopoDS_Shape& aS)
aPc.SetXYZ(aXYZc); aPc.SetXYZ(aXYZc);
aInfo.SetLocation(aPc); aInfo.SetLocation(aPc);
// //
gp_Vec aVec(aPc, aP2); if ( aLength >= gp::Resolution() ) {
gp_Dir aDir(aVec); gp_Vec aVec(aPc, aP2);
aInfo.SetDirection(aDir); gp_Dir aDir(aVec);
aInfo.SetDirection(aDir);
}
} }
//modified by NIZNHY-PKV Tue Jul 03 10:19:06 2012t //modified by NIZNHY-PKV Tue Jul 03 10:19:06 2012t
// Line // Line