X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_PlanarEdges.cpp;h=9bb3fb994dfaa1d1cf05efc47b1763910334abdb;hb=a5746a7f8fd8bcd555fb16f98e312c86ca1210da;hp=f7757cf7e94b7b32a3ad5f0a23067ece92cd4381;hpb=31e91a8d11e03ddce87e8c2aa04695961a266a97;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_PlanarEdges.cpp b/src/GeomAPI/GeomAPI_PlanarEdges.cpp index f7757cf7e..9bb3fb994 100644 --- a/src/GeomAPI/GeomAPI_PlanarEdges.cpp +++ b/src/GeomAPI/GeomAPI_PlanarEdges.cpp @@ -87,14 +87,13 @@ std::shared_ptr GeomAPI_PlanarEdges::dirY() const std::shared_ptr GeomAPI_PlanarEdges::norm() const { if (hasPlane()) - return myPlane->norm(); + return myPlane->normal(); return std::shared_ptr(); } void GeomAPI_PlanarEdges::setPlane(const std::shared_ptr& theOrigin, const std::shared_ptr& theDirX, - const std::shared_ptr& theDirY, const std::shared_ptr& theNorm) { - myPlane = std::shared_ptr(new GeomAPI_Ax3(theOrigin, theDirX, theDirY, theNorm)); + myPlane = std::shared_ptr(new GeomAPI_Ax3(theOrigin, theDirX, theNorm)); } \ No newline at end of file