|
libBioLCCC
|
An instance of GradientPoint keeps the properties of a point of a gradient. More...
#include <gradientpoint.h>
Public Member Functions | |
| GradientPoint (double iTime=0.0, double iConcentrationB=0.0) | |
| Default constructor. | |
| double | time () const |
| Returns the time of the point in minutes. | |
| double | concentrationB () const |
| Returns the concentration of component B at the point in percents. | |
| void | setTime (double newTime) |
| Sets the time of the point in minutes. | |
| void | setConcentrationB (double newConcentrationB) |
| Sets the concentration of component B at the point in percents. | |
An instance of GradientPoint keeps the properties of a point of a gradient.
Briefly, an instance of GradientPoint is a pair of values. The first one is time measured in minutes from the start of the gradient. The second is the concentration of component B in binary solvent.
| BioLCCC::GradientPoint::GradientPoint | ( | double | iTime = 0.0, |
| double | iConcentrationB = 0.0 |
||
| ) |
Default constructor.
Constructs a point of a gradient with at time = iTime and with the concentration of component B of binary solution = iConcentrationB.
Valid values are iTime >= 0.0 and 0.0 <= iConcentrationB <= 100.0