A class for representation of linear dimension constraint.
More...
|
| 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 linear dimension constraint.
It supports SketchPlugin_ConstraintLength and SketchPlugin_ConstraintDistance features.
◆ SketcherPrs_LengthDimension()
Constructor.
- Parameters
-
| theConstraint | a constraint feature |
| thePlane | a coordinate plane of current sketch |
◆ ~SketcherPrs_LengthDimension()
| SketcherPrs_LengthDimension::~SketcherPrs_LengthDimension |
( |
| ) |
|
◆ DEFINE_STANDARD_RTTIEXT()
Returns true if the constraint feature arguments are correctly filled to build AIS presentation.
- Parameters
-
| theConstraint | a constraint feature |
| thePlane | a coordinate plane of current sketch |
- Returns
- boolean result value
◆ plane()
| std::shared_ptr<GeomAPI_Ax3> SketcherPrs_LengthDimension::plane |
( |
| ) |
const |
|
inline |
◆ Compute()
| void SketcherPrs_LengthDimension::Compute |
( |
const Handle && |
thePresentationManager, |
|
|
const Handle && |
thePresentation, |
|
|
const Standard_Integer |
theMode = 0 |
|
) |
| |
|
protectedvirtual |
Redefinition of virtual function.
◆ ComputeSelection()
| void SketcherPrs_LengthDimension::ComputeSelection |
( |
const Handle && |
aSelection, |
|
|
const Standard_Integer |
aMode |
|
) |
| |
|
protectedvirtual |
Redefinition of virtual function.