mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 09:50:33 +05:00
untabify
This commit is contained in:
parent
fd8ea78dc3
commit
046d929fa1
@ -5242,8 +5242,8 @@ SMESH_MeshEditor::ExtrusionAlongTrack (TIDSortedElemSet & theElements,
|
||||
aN2 = aItN->next();
|
||||
}
|
||||
// starting node must be aN1 or aN2
|
||||
aN1isOK = aN1 && aN1->GetID() == theN1->GetID();
|
||||
aN2isOK = aN2 && aN2->GetID() == theN1->GetID();
|
||||
aN1isOK = ( aN1 && aN1 == theN1 );
|
||||
aN2isOK = ( aN2 && aN2 == theN1 );
|
||||
}
|
||||
else {
|
||||
// we have specified ending vertex of the previous edge on the previous iteration
|
||||
@ -5288,8 +5288,7 @@ SMESH_MeshEditor::ExtrusionAlongTrack (TIDSortedElemSet & theElements,
|
||||
SMESH_MeshEditor_PathPoint PP2 = currList.front();
|
||||
gp_Dir D1 = PP1.Tangent();
|
||||
gp_Dir D2 = PP2.Tangent();
|
||||
gp_Dir Dnew( gp_Vec( (D1.X()+D2.X())/2, (D1.Y()+D2.Y())/2,
|
||||
(D1.Z()+D2.Z())/2 ) );
|
||||
gp_Dir Dnew( ( D1.XYZ() + D2.XYZ() ) / 2 );
|
||||
PP1.SetTangent(Dnew);
|
||||
fullList.push_back(PP1);
|
||||
itPP++;
|
||||
|
Loading…
Reference in New Issue
Block a user