X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Ax3.cpp;h=7dd2632ce3d8dad238250dd6d5c6ec2fb87d54a5;hb=a34635e0dae5664d9438f6424a1ee1179f94edf4;hp=0ff482b851b19f3058616f1e20ec819409584eec;hpb=3afc257344780d0447d4fca3f26c91d932d0a0b0;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Ax3.cpp b/src/GeomAPI/GeomAPI_Ax3.cpp index 0ff482b85..7dd2632ce 100644 --- a/src/GeomAPI/GeomAPI_Ax3.cpp +++ b/src/GeomAPI/GeomAPI_Ax3.cpp @@ -67,14 +67,14 @@ std::shared_ptr GeomAPI_Ax3::dirY() const return std::shared_ptr(new GeomAPI_Dir(aDir.X(), aDir.Y(), aDir.Z())); } -void GeomAPI_Ax3::setNorm(const std::shared_ptr& theNorm) +void GeomAPI_Ax3::setNormal(const std::shared_ptr& theNorm) { gp_Ax1 aAx1 = MY_AX3->Axis(); aAx1.SetDirection(theNorm->impl()); MY_AX3->SetAxis(aAx1); } -std::shared_ptr GeomAPI_Ax3::norm() const +std::shared_ptr GeomAPI_Ax3::normal() const { gp_Dir aDir = MY_AX3->Axis().Direction(); return std::shared_ptr(new GeomAPI_Dir(aDir.X(),aDir.Y(),aDir.Z()));