From: dbv Date: Fri, 22 May 2015 17:10:54 +0000 (+0300) Subject: Compilation fix. X-Git-Tag: V_1.2.0~107 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9fed6b7684e179953aafdf4f48fbe8310ef268fb;p=modules%2Fshaper.git Compilation fix. --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp index fd014f73f..c19787308 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp @@ -70,11 +70,6 @@ std::shared_ptr GeomAlgoAPI_FaceBuilder::plane( return aResult; } -std::shared_ptr GeomAlgoAPI_FaceBuilder::planarFace(std::shared_ptr theAxis) -{ - return planarFace(theAxis->origin(), theAxis->dir()); -} - std::shared_ptr GeomAlgoAPI_FaceBuilder::planarFace(std::shared_ptr theCenter, std::shared_ptr theNormal) { diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h index 204e0f36c..49ec19c30 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h @@ -8,7 +8,6 @@ #define GeomAlgoAPI_FaceBuilder_H_ #include -#include #include #include #include @@ -36,9 +35,6 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder /// Returns the plane of the planar face. If it is not planar, returns empty ptr. static std::shared_ptr plane(std::shared_ptr theFace); - /// Creates the planar face by given axis. - static std::shared_ptr planarFace(std::shared_ptr theAxis); - /// Creates the planar face by given point of the center and normal to the plane. static std::shared_ptr planarFace(std::shared_ptr theCenter, std::shared_ptr theNormal);