SHAPER  9.12.0
SketcherPrs_Radius Class Reference

A class for representation of radius constraint. More...

Inheritance diagram for SketcherPrs_Radius:
Inheritance graph

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_Ax3plane () 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...
 

Detailed Description

A class for representation of radius constraint.

Constructor & Destructor Documentation

◆ SketcherPrs_Radius()

SketcherPrs_Radius::SketcherPrs_Radius ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketcher 
)

Constructor.

Parameters
theConstrainta constraint feature
thePlanea coordinate plane of current sketch

◆ ~SketcherPrs_Radius()

SketcherPrs_Radius::~SketcherPrs_Radius ( )

Destructor.

Member Function Documentation

◆ DEFINE_STANDARD_RTTIEXT()

SketcherPrs_Radius::DEFINE_STANDARD_RTTIEXT ( SketcherPrs_Radius  ,
PrsDim_RadiusDimension   
)

Returns true if the constraint feature arguments are correcly filled to build AIS presentation.

Parameters
theConstrainta constraint feature
thePlanea coordinate plane of current sketch
Returns
boolean result value

◆ plane()

std::shared_ptr<GeomAPI_Ax3> SketcherPrs_Radius::plane ( ) const
inline

Returns sketcher plane.

◆ Compute()

void SketcherPrs_Radius::Compute ( const Handle &&  thePresentationManager,
const Handle &&  thePresentation,
const Standard_Integer  theMode = 0 
)
protectedvirtual

Redefinition of virtual function.

◆ ComputeSelection()

void SketcherPrs_Radius::ComputeSelection ( const Handle &&  aSelection,
const Standard_Integer  aMode 
)
protectedvirtual

Redefinition of virtual function.