Class DoubleVariable
- Namespace
- NominalSystems.Maths
- Assembly
- NominalSystems.Maths.dll
A Vector State that contains a bound double value which updates whenever the original value is updated, and vis versa.
public class DoubleVariable : VectorState
- Inheritance
-
DoubleVariable
- Inherited Members
Constructors
DoubleVariable(object, string)
Double Variable constructor
public DoubleVariable(object obj, string name)
Parameters
obj
objectThe object that the double is attached to
name
stringThe name of the double property on the object
Properties
this[int]
public override double this[int i] { get; set; }
Parameters
i
int
Property Value
this[uint]
The get/set value accessor
public override double this[uint i] { get; set; }
Parameters
i
uintvalue index
Property Value
Size
The total size
public override uint Size { get; }
Property Value
Methods
Copy()
A function for creating a value copy of this class.
public override VectorState Copy()
Returns
MakeNull()
A method allowing values to be set to null.
public override bool MakeNull()
Returns
- bool
A boolean indicating if the value was successfully set to null.
ResetValue()
Reset the value of the VectorState to it's default value.
public override void ResetValue()