Salome HOME
Compilation fix.
authordbv <dbv@opencascade.com>
Fri, 22 May 2015 17:10:54 +0000 (20:10 +0300)
committerdbv <dbv@opencascade.com>
Fri, 22 May 2015 17:10:54 +0000 (20:10 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h

index fd014f73fafc53c9cf7e3b67b5baf5621efad207..c197873082d41d554107f2006be01495ce820bd6 100644 (file)
@@ -70,11 +70,6 @@ std::shared_ptr<GeomAPI_Pln> GeomAlgoAPI_FaceBuilder::plane(
   return aResult;
 }
 
-std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_FaceBuilder::planarFace(std::shared_ptr<GeomAPI_Ax1> theAxis)
-{
-  return planarFace(theAxis->origin(), theAxis->dir());
-}
-
 std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_FaceBuilder::planarFace(std::shared_ptr<GeomAPI_Pnt> theCenter,
                                                                    std::shared_ptr<GeomAPI_Dir> theNormal)
 {
index 204e0f36c7877e6dd92dcb6ccd55e95582983415..49ec19c3084da7dea685cc74fd7bcfd497f60111 100644 (file)
@@ -8,7 +8,6 @@
 #define GeomAlgoAPI_FaceBuilder_H_
 
 #include <GeomAlgoAPI.h>
-#include <GeomAPI_Ax1.h>
 #include <GeomAPI_Shape.h>
 #include <GeomAPI_Pnt.h>
 #include <GeomAPI_Pln.h>
@@ -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<GeomAPI_Pln> plane(std::shared_ptr<GeomAPI_Shape> theFace);
 
-  /// Creates the planar face by given axis.
-  static std::shared_ptr<GeomAPI_Shape> planarFace(std::shared_ptr<GeomAPI_Ax1> theAxis);
-
   /// Creates the planar face by given point of the center and normal to the plane.
   static std::shared_ptr<GeomAPI_Shape> planarFace(std::shared_ptr<GeomAPI_Pnt> theCenter,
                                                    std::shared_ptr<GeomAPI_Dir> theNormal);