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
Task 2.12. New entities: ellipses and arcs of ellipses (issue #3003)
[modules/shaper.git]
/
src
/
SketchSolver
/
PlaneGCSSolver
/
PlaneGCSSolver_Tools.h
diff --git
a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h
b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h
index 1eb95be4fcb27370a0ba457e77c4bfff66e32850..a02a9948c77a2302f86a4b7d48176b33f3d3f4ea 100644
(file)
--- a/
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h
+++ b/
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h
@@
-81,6
+81,11
@@
namespace PlaneGCSSolver_Tools
/// \return empty pointer if the entity is not a line
std::shared_ptr<GeomAPI_Lin2d> line(FeaturePtr theFeature);
/// \return empty pointer if the entity is not a line
std::shared_ptr<GeomAPI_Lin2d> line(FeaturePtr theFeature);
+ /// \brief Update start and end parameters of circular and elliptic arcs
+ /// respectively to start and end points on the arc.
+ /// For the circular arc, the radius is calculated too.
+ void recalculateArcParameters(EntityWrapperPtr theArc);
+
/// brief Return list of parameters for the given entity
GCS::SET_pD parameters(const EntityWrapperPtr& theEntity);
};
/// brief Return list of parameters for the given entity
GCS::SET_pD parameters(const EntityWrapperPtr& theEntity);
};