Class TiffRational
TiffRational class
The tiff rational type.
public class TiffRational
Constructors
| Name | Description |
|---|
| TiffRational() | Initializes a new instance of the TiffRational class. |
| TiffRational(uint) | Initializes a new instance of the TiffRational class. |
| TiffRational(uint, uint) | Initializes a new instance of the TiffRational class. |
Properties
| Name | Description |
|---|
| Denominator { get; } | Gets the denominator. |
| Nominator { get; } | Gets the nominator. |
| Value { get; } | Gets the float value. |
| ValueD { get; } | Gets the double value. |
Methods
| Name | Description |
|---|
| static ApproximateFraction(double) | Approximates the provided value to a fraction. |
| static ApproximateFraction(float) | Approximates the provided value to a fraction. |
| static ApproximateFraction(double, double) | Approximates the provided value to a fraction. |
| static ApproximateFraction(float, double) | Approximates the provided value to a fraction. |
| override Equals(object) | Determines whether the specified Object, is equal to this instance. |
| override GetHashCode() | Returns a hash code for this instance. |
| override ToString() | Converts to string. |
Fields
| Name | Description |
|---|
| const Epsilon | The epsilon for fraction calculation |
See Also