fix the bug 8924: correct edges orientation definition, remove unused variables
fix the bug 8924: correct edges orientation definition, remove unused variables

FedoraScientific/salome-smesh,FedoraScientific/salome-smesh,FedoraScientific/salome-smesh,FedoraScientific/salome-smesh