Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for issue #1000
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Edge.h
diff --git
a/src/GeomAPI/GeomAPI_Edge.h
b/src/GeomAPI/GeomAPI_Edge.h
index 1ecbde0fc6797b1c08beda0b7377ca23e34b6171..c5c62a9e9f689c54a7a5867c471d1cd8a21427aa 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Edge.h
+++ b/
src/GeomAPI/GeomAPI_Edge.h
@@
-18,37
+18,47
@@
class GeomAPI_Lin;
* \brief Interface to the edge object
*/
* \brief Interface to the edge object
*/
-class G
EOMAPI_EXPORT G
eomAPI_Edge : public GeomAPI_Shape
+class GeomAPI_Edge : public GeomAPI_Shape
{
public:
/// Creation of empty (null) shape
{
public:
/// Creation of empty (null) shape
+ GEOMAPI_EXPORT
GeomAPI_Edge();
/// Creation of edge by the edge-shape
GeomAPI_Edge();
/// Creation of edge by the edge-shape
+ GEOMAPI_EXPORT
GeomAPI_Edge(const std::shared_ptr<GeomAPI_Shape>& theShape);
/// Verifies that the edge is a line
GeomAPI_Edge(const std::shared_ptr<GeomAPI_Shape>& theShape);
/// Verifies that the edge is a line
+ GEOMAPI_EXPORT
bool isLine() const;
/// Verifies that the edge is a circle
bool isLine() const;
/// Verifies that the edge is a circle
+ GEOMAPI_EXPORT
bool isCircle() const;
/// Verifies that the edge is an arc of circle
bool isCircle() const;
/// Verifies that the edge is an arc of circle
+ GEOMAPI_EXPORT
bool isArc() const;
/// Returns the first vertex coordinates of the edge
bool isArc() const;
/// Returns the first vertex coordinates of the edge
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> firstPoint();
/// Returns the Last vertex coordinates of the edge
std::shared_ptr<GeomAPI_Pnt> firstPoint();
/// Returns the Last vertex coordinates of the edge
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> lastPoint();
/// Returns a circle if edge is based on the circle curve
std::shared_ptr<GeomAPI_Pnt> lastPoint();
/// Returns a circle if edge is based on the circle curve
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Circ> circle();
/// Returns a line if edge is based on the linear curve
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();
/// Returns true if the current edge is geometrically equal to the given edge
std::shared_ptr<GeomAPI_Lin> line();
/// Returns true if the current edge is geometrically equal to the given edge
+ GEOMAPI_EXPORT
bool isEqual(const std::shared_ptr<GeomAPI_Shape> theEdge) const;
};
bool isEqual(const std::shared_ptr<GeomAPI_Shape> theEdge) const;
};