approximate_fraction method
Contents
[
Hide
]approximate_fraction
Approximates the provided value to a fraction.
Returns
A rational number having error less than TiffRational.Epsilon.
def approximate_fraction(self, value):
...
| Parameter | Type | Description |
|---|---|---|
| value | float | The value. |
approximate_fraction
Approximates the provided value to a fraction.
Returns
A rational number having error less than TiffRational.Epsilon.
def approximate_fraction(self, value):
...
| Parameter | Type | Description |
|---|---|---|
| value | float | The value. |
approximate_fraction
Approximates the provided value to a fraction.
Returns
A rational number having error less than epsilon.
def approximate_fraction(self, value, epsilon):
...
| Parameter | Type | Description |
|---|---|---|
| value | float | The value. |
| epsilon | float | The error allowed. |
approximate_fraction
Approximates the provided value to a fraction.
Returns
A rational number having error less than epsilon.
def approximate_fraction(self, value, epsilon):
...
| Parameter | Type | Description |
|---|---|---|
| value | float | The value. |
| epsilon | float | The error allowed. |
See Also
- module
aspose.cad.fileformats.tiff - class
TiffRational