Salome HOME
Revert "Merge branch 'Pre_2.8.0_development'"
[modules/shaper.git] / src / GeomAPI / GeomAPI_Edge.h
index 59b36c04207fe3d9b0685942fb42aac4b0a0989f..44c76df82e306eee106ff9722afff13c6f81d00c 100644 (file)
@@ -27,7 +27,6 @@ class GeomAPI_Pln;
 class GeomAPI_Pnt;
 class GeomAPI_Circ;
 class GeomAPI_Lin;
-class GeomAPI_Ellipse;
 
 /**\class GeomAPI_Edge
 * \ingroup DataModel
@@ -57,10 +56,6 @@ public:
   GEOMAPI_EXPORT
   bool isArc() const;
 
-  /// Verifies that the edge is an arc of circle
-  GEOMAPI_EXPORT
-  bool isEllipse() const;
-
   /// Returns the first vertex coordinates of the edge
   GEOMAPI_EXPORT
   std::shared_ptr<GeomAPI_Pnt> firstPoint();
@@ -71,15 +66,11 @@ public:
 
   /// Returns a circle if edge is based on the circle curve
   GEOMAPI_EXPORT
-  std::shared_ptr<GeomAPI_Circ> circle() const;
-
-  /// Returns an ellipse if edge is based on the ellipse curve
-  GEOMAPI_EXPORT
-  std::shared_ptr<GeomAPI_Ellipse> ellipse() const;
+  std::shared_ptr<GeomAPI_Circ> circle();
 
   /// Returns a line if edge is based on the linear curve
   GEOMAPI_EXPORT
-  std::shared_ptr<GeomAPI_Lin> line() const;
+  std::shared_ptr<GeomAPI_Lin> line();
 
   /// Returns true if the current edge is geometrically equal to the given edge
   GEOMAPI_EXPORT
@@ -98,8 +89,5 @@ public:
   double length() const;
 };
 
-//! Pointer on attribute object
-typedef std::shared_ptr<GeomAPI_Edge> GeomEdgePtr;
-
 #endif