class GeomAPI_Pnt;
class GeomAPI_Circ;
class GeomAPI_Lin;
-class GeomAPI_Ellipse;
/**\class GeomAPI_Edge
* \ingroup DataModel
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();
/// 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
double length() const;
};
-//! Pointer on attribute object
-typedef std::shared_ptr<GeomAPI_Edge> GeomEdgePtr;
-
#endif