0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

fix reversion myC3dAdaptor's
This commit is contained in:
eap 2013-02-04 11:40:07 +00:00
parent f607610b9c
commit 4167c89c41

View File

@ -587,7 +587,7 @@ void StdMeshers_FaceSide::Reverse()
reverse( myEdge );
reverse( myEdgeID );
reverse( myC2d );
reverse( myC3dAdaptor );
//reverse( myC3dAdaptor );
reverse( myFirst );
reverse( myLast );
reverse( myNormPar );
@ -606,7 +606,8 @@ void StdMeshers_FaceSide::Reverse()
{
double fp,lp;
Handle(Geom_Curve) C3d = BRep_Tool::Curve(myEdge[i],fp,lp);
myC3dAdaptor[i].Load( C3d, fp,lp );
if ( !C3d.IsNull() )
myC3dAdaptor[i].Load( C3d, fp,lp );
}
}