Class TiffSRational
TiffSRational class
The tiff rational type.
public class TiffSRational
Constructors
| Name | Description |
|---|
| TiffSRational() | Initializes a new instance of the TiffSRational class. |
| TiffSRational(int) | Initializes a new instance of the TiffSRational class. |
| TiffSRational(int, int) | Initializes a new instance of the TiffSRational 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() | Returns a String that represents this instance. |
Fields
| Name | Description |
|---|
| const Epsilon | The epsilon for fraction calculation |
See Also