Core 1.0
|
A pair of two reals, one defining a value, the other an alpha value. More...
#include <scalaralpha.h>
Public Member Functions | |
ScalarAlpha () | |
Empty constructor. | |
ScalarAlpha (const double &, const double &) | |
Constructor. More... | |
~ScalarAlpha () | |
Empty. | |
void | SetValue (const double &) |
Set material layer thickness. More... | |
void | SetAlpha (const double &) |
Set alpha layer value. More... | |
double | Value () const |
Return the height value. | |
double | Alpha () const |
Return the alpha value. | |
Static Public Attributes | |
static const ScalarAlpha | Empty |
Empty value and weight. | |
Protected Attributes | |
double | value |
Real. | |
double | alpha |
Alpha. | |
A pair of two reals, one defining a value, the other an alpha value.
|
inlineexplicit |
Constructor.
x | Real. |
a | Alpha. |
|
inline |
Set alpha layer value.
a | Alpha coefficient. |
|
inline |
Set material layer thickness.
v | Value. |