RADouble Structure |
[SerializableAttribute] public struct RADouble : IEquatable<RADouble>
The RADouble type exposes the following members.
Name | Description | |
---|---|---|
RADouble(Double) | This creates the structure with the absolute value absval. | |
RADouble(Double, Boolean) | Constructs the structure with provided value and the information, if it is a absolute or a relative value. |
Name | Description | |
---|---|---|
IsAbsolute | Get / set the information, if the value is relative or absolute. | |
IsRelative | Get / set the information, if the value is relative or absolute. | |
Value | Get / set the raw value. Careful! the value you get is not relative to another, even in the case that the sructure holds a relative value, it is the raw value in m_Value instead. |
Name | Description | |
---|---|---|
Equals(Object) | (Overrides ValueTypeEquals(Object)) | |
Equals(RADouble) | ||
GetHashCode | (Overrides ValueTypeGetHashCode) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetValueRelativeTo | This is the function to get out the value. In case it is a absolute value, simply Value is returned, regardless of the argument r. In case it is a absolute value, the product of r with the value is returned. | |
NewAbs | ||
NewRel | ||
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
Name | Description | |
---|---|---|
Equality(RADouble, RADouble) | ||
Inequality(RADouble, RADouble) | ||
Multiply(RADouble, Double) |