Table of Contents

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

ReaderValueKind

Value

public float Value { get; set; }

Property Value

float

Methods

Equals(ReaderFloat?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ReaderFloat? other)

Parameters

other ReaderFloat

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

float

implicit operator ReaderFloat(float)

public static implicit operator ReaderFloat(float value)

Parameters

value float

Returns

ReaderFloat