Logo Search packages:      
Sourcecode: freecad version File versions  Download package

void PropertyFloatConstraint::setConstraints ( const Constraints sConstrain  ) 

setting the boundaries This sets the constriant struct. It can be dynamcly allocated or set as an static in the class the property blongs to:

 const Constraints percent = {0.0,100.0,1.0}

Definition at line 783 of file PropertyStandard.cpp.

    _ConstStruct = sConstrain;

Generated by  Doxygen 1.6.0   Back to index