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
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Edge.h
diff --git
a/src/GeomAPI/GeomAPI_Edge.h
b/src/GeomAPI/GeomAPI_Edge.h
index 1ecf750786be277173b77f93477964ba441a80dd..1ecbde0fc6797b1c08beda0b7377ca23e34b6171 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Edge.h
+++ b/
src/GeomAPI/GeomAPI_Edge.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomAPI_Edge.hxx
// Created: 24 Jul 2014
// Author: Artem ZHIDKOV
// File: GeomAPI_Edge.hxx
// Created: 24 Jul 2014
// Author: Artem ZHIDKOV
@@
-9,6
+11,7
@@
class GeomAPI_Pnt;
class GeomAPI_Circ;
class GeomAPI_Pnt;
class GeomAPI_Circ;
+class GeomAPI_Lin;
/**\class GeomAPI_Edge
* \ingroup DataModel
/**\class GeomAPI_Edge
* \ingroup DataModel
@@
-39,11
+42,14
@@
public:
/// Returns the Last vertex coordinates of the edge
std::shared_ptr<GeomAPI_Pnt> lastPoint();
/// Returns the Last vertex coordinates of the edge
std::shared_ptr<GeomAPI_Pnt> lastPoint();
- /// Returns a circle if edge is based on the cir
s
le curve
+ /// Returns a circle if edge is based on the cir
c
le curve
std::shared_ptr<GeomAPI_Circ> circle();
std::shared_ptr<GeomAPI_Circ> circle();
+ /// Returns a line if edge is based on the linear curve
+ std::shared_ptr<GeomAPI_Lin> line();
+
/// Returns true if the current edge is geometrically equal to the given edge
/// Returns true if the current edge is geometrically equal to the given edge
- bool isEqual(
std::shared_ptr<GeomAPI_Shape> theEdge)
;
+ bool isEqual(
const std::shared_ptr<GeomAPI_Shape> theEdge) const
;
};
#endif
};
#endif