SEScalarNegative1To1 Class Reference
#include <SEScalarNegative1To1.h>
Inherits SEScalar.
Public Member Functions | |
SEScalarNegative1To1 () | |
virtual | ~SEScalarNegative1To1 () |
double | GetValue () const |
double | GetValue (const NoUnit &) const |
void | SetValue (double d) |
void | SetValue (double d, const NoUnit &unitless) |
void | ForceValue (double d) |
void | ForceValue (double d, const NoUnit &unitless) |
Public Member Functions inherited from SEScalar | |
SEScalar () | |
virtual | ~SEScalar () |
void | Invalidate () override |
virtual void | ForceInvalidate () |
bool | Set (const SEScalar &s) |
bool | Force (const SEScalar &s) |
void | Copy (const SEScalar &s) |
bool | IsValid () const override |
bool | IsInfinity () const |
bool | IsPositive () const |
bool | IsNegative () const |
bool | IsZero (double limit=ZERO_APPROX) const |
void | SetReadOnly (bool b) |
bool | IsReadOnly () const |
double | GetValue () const |
double | GetValue (int precision) const |
void | SetValue (double d) |
void | ForceValue (double d) |
double | Increment (const SEScalar &s) |
double | Increment (double d) |
double | ForceIncrement (double d) |
double | Multiply (double d) |
void | Average (int cnt) |
bool | Equals (const SEScalar &to) const |
virtual std::string | ToString () const |
virtual void | ToString (std::ostream &str) const |
Public Member Functions inherited from SEProperty | |
SEProperty () | |
virtual | ~SEProperty () |
virtual void | Invalidate ()=0 |
virtual bool | IsValid () const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from SEScalar | |
static double | dNaN () |
static bool | IsNumber (double d) |
static bool | IsZero (double value, double limit) |
static bool | IsValue (double target, double value) |
static double | Truncate (double value, int decimal_places) |
Protected Attributes inherited from SEScalar | |
double | m_value |
bool | m_isnan =true |
bool | m_isinf =false |
bool | m_readOnly =false |
Constructor & Destructor Documentation
◆ SEScalarNegative1To1()
SEScalarNegative1To1::SEScalarNegative1To1 | ( | ) |
◆ ~SEScalarNegative1To1()
|
inlinevirtual |
Member Function Documentation
◆ ForceValue() [1/2]
void SEScalarNegative1To1::ForceValue | ( | double | d | ) |
◆ ForceValue() [2/2]
void SEScalarNegative1To1::ForceValue | ( | double | d, |
const NoUnit & | unitless | ||
) |
◆ GetValue() [1/2]
|
inline |
◆ GetValue() [2/2]
|
inline |
◆ SetValue() [1/2]
void SEScalarNegative1To1::SetValue | ( | double | d | ) |
◆ SetValue() [2/2]
void SEScalarNegative1To1::SetValue | ( | double | d, |
const NoUnit & | unitless | ||
) |