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
/
SketchSolver
/
SketchSolver_ConstraintCoincidence.h
diff --git
a/src/SketchSolver/SketchSolver_ConstraintCoincidence.h
b/src/SketchSolver/SketchSolver_ConstraintCoincidence.h
index c1d1124af4ecdd30641c5884d21688a5767ac7a0..47d58e0e23299282a208d848f156ce28faf4b603 100644
(file)
--- a/
src/SketchSolver/SketchSolver_ConstraintCoincidence.h
+++ b/
src/SketchSolver/SketchSolver_ConstraintCoincidence.h
@@
-58,9
+58,12
@@
private:
/// \brief Create full SolveSpace structure according to given constraint
void addConstraint(ConstraintPtr theConstraint);
/// \brief Create full SolveSpace structure according to given constraint
void addConstraint(ConstraintPtr theConstraint);
+ /// \brief Create constraint of point concident to the line or circle
+ Slvs_hConstraint addPointOnEntity(Slvs_hEntity thePoint, Slvs_hEntity theEntity);
+
private:
int myType; ///< type of constraint (applicable SLVS_C_POINTS_COINCIDENT or SLVS_C_PT_ON_LINE or SLVS_C_PT_ON_CIRCLE)
private:
int myType; ///< type of constraint (applicable SLVS_C_POINTS_COINCIDENT or SLVS_C_PT_ON_LINE or SLVS_C_PT_ON_CIRCLE)
- std::map<
Slvs_hConstraint, ConstraintPtr
> myExtraCoincidence; ///< multiple coincidence of points
+ std::map<
ConstraintPtr, Slvs_hConstraint
> myExtraCoincidence; ///< multiple coincidence of points
std::set<AttributePtr> myCoincidentPoints; ///< list of points under the Coincidence constraint
};
std::set<AttributePtr> myCoincidentPoints; ///< list of points under the Coincidence constraint
};