SHAPER
9.12.0
|
A class for representation of radius constraint. More...
Public Member Functions | |
SketcherPrs_Radius (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketcher) | |
Constructor. More... | |
~SketcherPrs_Radius () | |
Destructor. More... | |
DEFINE_STANDARD_RTTIEXT (SketcherPrs_Radius, PrsDim_RadiusDimension) static bool IsReadyToDisplay(ModelAPI_Feature *theConstraint | |
Returns true if the constraint feature arguments are correcly filled to build AIS presentation. More... | |
std::shared_ptr< GeomAPI_Ax3 > | plane () const |
Returns sketcher plane. More... | |
Data Fields | |
const std::shared_ptr< GeomAPI_Ax3 > & | thePlane |
Protected Member Functions | |
virtual void | Compute (const Handle &&thePresentationManager, const Handle &&thePresentation, const Standard_Integer theMode=0) |
Redefinition of virtual function. More... | |
virtual void | ComputeSelection (const Handle &&aSelection, const Standard_Integer aMode) |
Redefinition of virtual function. More... | |
A class for representation of radius constraint.
SketcherPrs_Radius::SketcherPrs_Radius | ( | ModelAPI_Feature * | theConstraint, |
SketchPlugin_Sketch * | theSketcher | ||
) |
Constructor.
theConstraint | a constraint feature |
thePlane | a coordinate plane of current sketch |
SketcherPrs_Radius::~SketcherPrs_Radius | ( | ) |
Destructor.
SketcherPrs_Radius::DEFINE_STANDARD_RTTIEXT | ( | SketcherPrs_Radius | , |
PrsDim_RadiusDimension | |||
) |
Returns true if the constraint feature arguments are correcly filled to build AIS presentation.
theConstraint | a constraint feature |
thePlane | a coordinate plane of current sketch |
|
inline |
Returns sketcher plane.
|
protectedvirtual |
Redefinition of virtual function.
|
protectedvirtual |
Redefinition of virtual function.