SHAPER  9.12.0
SketcherPrs_Coincident Class Reference

A redefinition of standard AIS Interactive Object in order to provide
presentation of coincident constraint. More...

Inheritance diagram for SketcherPrs_Coincident:
Inheritance graph

Public Member Functions

 SketcherPrs_Coincident (ModelAPI_Feature *theConstraint, SketchPlugin_Sketch *theSketch)
 Constructor. More...
 
virtual DEFINE_STANDARD_RTTIEXT(SketcherPrs_Coincident, AIS_InteractiveObject) protected void ComputeSelection (const Handle &&aSelection, const Standard_Integer aMode)
 Redefinition of virtual function. More...
 

Static Public Member Functions

static bool IsReadyToDisplay (ModelAPI_Feature *theConstraint, const std::shared_ptr< GeomAPI_Ax3 > &thePlane)
 Returns true if the constraint feature arguments are correcly filled to build AIS presentation. More...
 

Detailed Description

A redefinition of standard AIS Interactive Object in order to provide
presentation of coincident constraint.

Constructor & Destructor Documentation

◆ SketcherPrs_Coincident()

SketcherPrs_Coincident::SketcherPrs_Coincident ( ModelAPI_Feature theConstraint,
SketchPlugin_Sketch theSketch 
)

Constructor.

Parameters
theConstrainta constraint object
thePlaneplane of a sketch

Member Function Documentation

◆ IsReadyToDisplay()

bool SketcherPrs_Coincident::IsReadyToDisplay ( ModelAPI_Feature theConstraint,
const std::shared_ptr< GeomAPI_Ax3 > &  thePlane 
)
static

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

◆ ComputeSelection()

void SketcherPrs_Coincident::ComputeSelection ( const Handle &&  aSelection,
const Standard_Integer  aMode 
)
virtual

Redefinition of virtual function.