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 stable processing of mirror constraint (eliminating SolveSpace problems)
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Edge.h
diff --git
a/src/GeomAPI/GeomAPI_Edge.h
b/src/GeomAPI/GeomAPI_Edge.h
index ea4be9ef62f0aebc8ba02769f4dc99b5321d7c85..1c4802ecc687b10585a3ea5c8c761bec5c0b3057 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
@@
-22,7
+24,7
@@
public:
GeomAPI_Edge();
/// Creation of edge by the edge-shape
GeomAPI_Edge();
/// Creation of edge by the edge-shape
- GeomAPI_Edge(const
boost
::shared_ptr<GeomAPI_Shape>& theShape);
+ GeomAPI_Edge(const
std
::shared_ptr<GeomAPI_Shape>& theShape);
/// Verifies that the edge is a line
bool isLine() const;
/// Verifies that the edge is a line
bool isLine() const;
@@
-34,16
+36,16
@@
public:
bool isArc() const;
/// Returns the first vertex coordinates of the edge
bool isArc() const;
/// Returns the first vertex coordinates of the edge
-
boost
::shared_ptr<GeomAPI_Pnt> firstPoint();
+
std
::shared_ptr<GeomAPI_Pnt> firstPoint();
/// Returns the Last vertex coordinates of the edge
/// Returns the Last vertex coordinates of the edge
-
boost
::shared_ptr<GeomAPI_Pnt> lastPoint();
+
std
::shared_ptr<GeomAPI_Pnt> lastPoint();
/// Returns a circle if edge is based on the cirsle curve
/// Returns a circle if edge is based on the cirsle curve
-
boost
::shared_ptr<GeomAPI_Circ> circle();
+
std
::shared_ptr<GeomAPI_Circ> circle();
/// 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(
boost::shared_ptr<GeomAPI_Shape> theEdge)
;
+ bool isEqual(
const std::shared_ptr<GeomAPI_Shape> theEdge) const
;
};
#endif
};
#endif