From 9fed6b7684e179953aafdf4f48fbe8310ef268fb Mon Sep 17 00:00:00 2001 From: dbv Date: Fri, 22 May 2015 20:10:54 +0300 Subject: [PATCH] Compilation fix. --- src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp | 5 ----- src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h | 4 ---- 2 files changed, 9 deletions(-) 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); -- 2.39.2