Click or drag to resize

RADouble Structure

This structure holds a value, which is either absolute or relative to another value.
Inheritance Hierarchy
SystemObject
  SystemValueType
    AltaxoRADouble

Namespace: Altaxo
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
[SerializableAttribute]
public struct RADouble : IEquatable<RADouble>

The RADouble type exposes the following members.

Constructors
 NameDescription
Public methodRADouble(Double) Creates the structure with the absolute value absval.
Public methodRADouble(Double, Boolean) Constructs the structure with provided value and the information if it is an absolute or a relative value.
Top
Properties
 NameDescription
Public propertyIsAbsolute Gets a value indicating whether the value is absolute.
Public propertyIsRelative Gets a value indicating whether the value is relative.
Public propertyValue Gets the raw value. If the structure holds a relative value, this is the raw value, not the value relative to another.
Top
Methods
 NameDescription
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(RADouble)Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValueRelativeTo Gets the value relative to the specified argument. If absolute, returns the stored value; if relative, returns the product of the stored value and r.
Public methodStatic memberNewAbs Creates a new RADouble with an absolute value.
Public methodStatic memberNewRel Creates a new RADouble with a relative value.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(RADouble, RADouble) Determines whether two RADouble instances are equal.
Public operatorStatic memberInequality(RADouble, RADouble) Determines whether two RADouble instances are not equal.
Public operatorStatic memberMultiply(RADouble, Double) Multiplies the RADouble value by a scale factor.
Top
See Also