X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_PositionMgr.h;h=d8a956ff9f4398a033ca4b591c50344bc85f1566;hb=acb27733bf87bc7fb401f82aca26d7a8c0b608d3;hp=fd61fa64ffe90c6e6da3e29e427066ee8b4e7699;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_PositionMgr.h b/src/SketcherPrs/SketcherPrs_PositionMgr.h index fd61fa64f..d8a956ff9 100644 --- a/src/SketcherPrs/SketcherPrs_PositionMgr.h +++ b/src/SketcherPrs/SketcherPrs_PositionMgr.h @@ -30,11 +30,11 @@ public: /// \param theLine constrained object /// \param thePrs a presentation of constraint /// \param theStep step between symbols - gp_Pnt getPosition(ObjectPtr theLine, Handle(SketcherPrs_SymbolPrs) thePrs, double theStep = 20); + gp_Pnt getPosition(ObjectPtr theLine, const SketcherPrs_SymbolPrs* thePrs, double theStep = 20); /// Deletes constraint object from internal structures. Has to be called on constraint delete. /// \param thePrs a constraint presentation - void deleteConstraint(Handle(SketcherPrs_SymbolPrs) thePrs); + void deleteConstraint(const SketcherPrs_SymbolPrs* thePrs); private: /// Constructor @@ -43,10 +43,10 @@ private: /// Returns position index of the given constraint /// \param theLine constrained object /// \param thePrs a presentation of constraint - int getPositionIndex(ObjectPtr theLine, Handle(SketcherPrs_SymbolPrs) thePrs); + int getPositionIndex(ObjectPtr theLine, const SketcherPrs_SymbolPrs* thePrs); private: - typedef std::map PositionsMap; + typedef std::map PositionsMap; /// The map which contains position of presentation PositionsMap myIndexes;