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
Output information about sketch entitites on mouse move
[modules/shaper.git]
/
src
/
SketchSolver
/
SketchSolver_ConstraintAngle.h
diff --git
a/src/SketchSolver/SketchSolver_ConstraintAngle.h
b/src/SketchSolver/SketchSolver_ConstraintAngle.h
index a4a65a4a3c3a4ba690bd9fd86b34e47ba5db858a..3e979aa6d0b05d2f2b60e700709e7660f9f66b62 100644
(file)
--- a/
src/SketchSolver/SketchSolver_ConstraintAngle.h
+++ b/
src/SketchSolver/SketchSolver_ConstraintAngle.h
@@
-16,22
+16,20
@@
class SketchSolver_ConstraintAngle : public SketchSolver_Constraint
{
public:
class SketchSolver_ConstraintAngle : public SketchSolver_Constraint
{
public:
+ /// Constructor based on SketchPlugin constraint
SketchSolver_ConstraintAngle(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myAngle(0.0)
{}
SketchSolver_ConstraintAngle(ConstraintPtr theConstraint) :
SketchSolver_Constraint(theConstraint),
myAngle(0.0)
{}
- virtual int getType() const
- { return SLVS_C_ANGLE; }
-
/// \brief This method is used in derived objects to check consistence of constraint.
virtual void adjustConstraint();
protected:
/// \brief This method is used in derived objects to check consistence of constraint.
virtual void adjustConstraint();
protected:
- /// \brief Generate list of attributes of constraint in order useful for
SolveSpace
constraints
+ /// \brief Generate list of attributes of constraint in order useful for constraints
/// \param[out] theValue numerical characteristic of constraint (e.g. distance)
/// \param[out] theAttributes list of attributes to be filled
/// \param[out] theValue numerical characteristic of constraint (e.g. distance)
/// \param[out] theAttributes list of attributes to be filled
- virtual void getAttributes(double& theValue, std::vector<
Slvs_hEntity
>& theAttributes);
+ virtual void getAttributes(double& theValue, std::vector<
EntityWrapperPtr
>& theAttributes);
private:
double myAngle;
private:
double myAngle;