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,10 +570,12 @@ void GEOMAlgo_ShapeInfoFiller::FillEdge(const TopoDS_Shape& aS)
aPc.SetXYZ(aXYZc); aPc.SetXYZ(aXYZc);
aInfo.SetLocation(aPc); aInfo.SetLocation(aPc);
// //
if ( aLength >= gp::Resolution() ) {
gp_Vec aVec(aPc, aP2); gp_Vec aVec(aPc, aP2);
gp_Dir aDir(aVec); gp_Dir aDir(aVec);
aInfo.SetDirection(aDir); 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
else if (aCT==GeomAbs_Line) { else if (aCT==GeomAbs_Line) {