20 #ifndef SketcherPrs_Radius_H
21 #define SketcherPrs_Radius_H
23 #include <GeomAPI_Ax3.h>
24 #include <ModelAPI_Feature.h>
25 #include <SketchPlugin_Sketch.h>
27 #include <PrsDim_RadiusDimension.hxx>
28 #include <Standard_DefineHandle.hxx>
30 #include <SketcherPrs_DimensionStyle.h>
58 const std::shared_ptr<GeomAPI_Ax3>& thePlane);
61 Standard_EXPORT std::shared_ptr<GeomAPI_Ax3>
plane()
const
63 return mySketcher->coordinatePlane();
74 const std::shared_ptr<GeomAPI_Ax3>& thePlane,
75 gp_Circ& theCircle, gp_Pnt& theAnchorPoint);
78 Standard_EXPORT
virtual void Compute(
79 const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
80 const Handle(Prs3d_Presentation)& thePresentation,
const Standard_Integer theMode = 0);
83 Standard_EXPORT
virtual void ComputeSelection(
const Handle(SelectMgr_Selection)& aSelection,
84 const Standard_Integer aMode);
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:41
Feature for creation of the new part in PartSet.
Definition: SketchPlugin_Sketch.h:47
Definition: SketcherPrs_DimensionStyle.h:43
Definition: SketcherPrs_DimensionStyle.h:41
A class for representation of radius constraint.
Definition: SketcherPrs_Radius.h:39
DEFINE_STANDARD_RTTIEXT(SketcherPrs_Radius, PrsDim_RadiusDimension) static bool IsReadyToDisplay(ModelAPI_Feature *theConstraint
Returns true if the constraint feature arguments are correctly filled to build AIS presentation.
std::shared_ptr< GeomAPI_Ax3 > plane() const
Returns sketcher plane.
Definition: SketcherPrs_Radius.h:61