Class ReaderFloat
- Namespace
- Mech3DotNet.Reader
- Assembly
- Mech3DotNet.dll
public sealed class ReaderFloat : ReaderValue, IEquatable<ReaderFloat>
- Inheritance
-
ReaderFloat
- Implements
- Inherited Members
Constructors
ReaderFloat()
public ReaderFloat()
ReaderFloat(float)
public ReaderFloat(float value)
Parameters
value
float
Properties
Kind
The kind of ReaderValue.
public override ReaderValueKind Kind { get; }
Property Value
Value
public float Value { get; set; }
Property Value
Methods
Equals(ReaderFloat?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ReaderFloat? other)
Parameters
other
ReaderFloatAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Write(BinaryWriter)
public override void Write(BinaryWriter writer)
Parameters
writer
BinaryWriter
Operators
implicit operator float(ReaderFloat)
public static implicit operator float(ReaderFloat value)
Parameters
value
ReaderFloat
Returns
implicit operator ReaderFloat(float)
public static implicit operator ReaderFloat(float value)
Parameters
value
float