TiffSRational

TiffSRational class

Represents signed rational number.

public sealed class TiffSRational : IEquatable<TiffSRational>

Constructors

Name Description
TiffSRational(int, int) Initializes a new instance of the TiffSRational class.

Properties

Name Description
Denominator { get; } Gets denominator.
Numerator { get; } Gets numerator.
Value { get; } Gets actual value represented as double.

Methods

Name Description
override Equals(object) Indicates whether the current object is equal to another object of the same type.
Equals(TiffSRational) Indicates whether the current object is equal to another object of the same type.
override GetHashCode() Returns a hash code for this instance.
override ToString() Returns a String that represents this instance.
static Equals(TiffSRational, TiffSRational) Compares pair of TiffSRational.
operator == Indicates whether two objects of the same type are equal.
operator != Indicates whether two objects of the same type are not equal.

See Also