X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Radius.h;h=9e431254bc048ef421aa6e11c925a0988b4fe0f9;hb=d915f243c36fb3863c3bc10d057f0c63d13c49eb;hp=ee3cbe929d656addba17d095c4b2710d1735c91e;hpb=066d35261d20a2d10910172a20882e9f0ef24fc3;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Radius.h b/src/SketcherPrs/SketcherPrs_Radius.h index ee3cbe929..9e431254b 100644 --- a/src/SketcherPrs/SketcherPrs_Radius.h +++ b/src/SketcherPrs/SketcherPrs_Radius.h @@ -28,15 +28,16 @@ public: /// Constructor /// \param theConstraint a constraint feature /// \param thePlane a coordinate plane of current sketch - Standard_EXPORT SketcherPrs_Radius(ModelAPI_Feature* theConstraint, + Standard_EXPORT SketcherPrs_Radius(ModelAPI_Feature* theConstraint, const std::shared_ptr& thePlane); /// Destructor Standard_EXPORT ~SketcherPrs_Radius(); - DEFINE_STANDARD_RTTI(SketcherPrs_Radius) + DEFINE_STANDARD_RTTIEXT(SketcherPrs_Radius, AIS_RadiusDimension) - /// Returns true if the constraint feature arguments are correcly filled to build AIS presentation + /// Returns true if the constraint feature arguments are correcly filled + /// to build AIS presentation /// \param theConstraint a constraint feature /// \param thePlane a coordinate plane of current sketch /// \return boolean result value @@ -54,7 +55,8 @@ private: gp_Circ& theCircle, gp_Pnt& theAnchorPoint); protected: /// Redefinition of virtual function - Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, + Standard_EXPORT virtual void Compute( + const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0); /// Redefinition of virtual function