X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintCoincidence.h;h=47d58e0e23299282a208d848f156ce28faf4b603;hb=3d28bcbab2f3ed0e40295e64f4e836caebc19fca;hp=c1d1124af4ecdd30641c5884d21688a5767ac7a0;hpb=9fdd5bb2d329d3fc435f86a0247b6b5378c252b1;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintCoincidence.h b/src/SketchSolver/SketchSolver_ConstraintCoincidence.h index c1d1124af..47d58e0e2 100644 --- 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 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) - std::map myExtraCoincidence; ///< multiple coincidence of points + std::map myExtraCoincidence; ///< multiple coincidence of points std::set myCoincidentPoints; ///< list of points under the Coincidence constraint };