SHAPER
9.12.0
|
Class for filling ModelAPI_AttributeDouble. More...
Public Member Functions | |
ModelHighAPI_Double (double theValue=0.) | |
Constructor for double. More... | |
ModelHighAPI_Double (const std::wstring &theValue) | |
Constructor for std::string. More... | |
ModelHighAPI_Double (const wchar_t *theValue) | |
Constructor for char *. More... | |
virtual | ~ModelHighAPI_Double () |
Destructor. More... | |
virtual void | fillAttribute (const std::shared_ptr< ModelAPI_AttributeDouble > &theAttribute) const |
Fill attribute values. More... | |
virtual void | fillAttribute (const std::shared_ptr< GeomDataAPI_Point > &thePoint, const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) const |
Sets the zero-based coordinates of a point. More... | |
double | value () const |
Value of the attribute. More... | |
virtual std::wstring | string () const |
Returns a string representation of the value. More... | |
Class for filling ModelAPI_AttributeDouble.
ModelHighAPI_Double::ModelHighAPI_Double | ( | double | theValue = 0. | ) |
Constructor for double.
ModelHighAPI_Double::ModelHighAPI_Double | ( | const std::wstring & | theValue | ) |
Constructor for std::string.
ModelHighAPI_Double::ModelHighAPI_Double | ( | const wchar_t * | theValue | ) |
Constructor for char *.
|
virtual |
Destructor.
|
virtual |
Fill attribute values.
|
virtual |
Sets the zero-based coordinates of a point.
double ModelHighAPI_Double::value | ( | ) | const |
Value of the attribute.
|
virtual |
Returns a string representation of the value.