## Uses of Class
org.apache.commons.imaging.common.RationalNumber

- Packages that use RationalNumber
  Package | Description
  --- | ---
  org.apache.commons.imaging.common | Provides utility classes that are employed across multiple image formats and sub-packages.
  org.apache.commons.imaging.formats.tiff | Provides classes and methods for reading and writing Tagged Image File Format (TIFF) files.
  org.apache.commons.imaging.formats.tiff.taginfos | Classes for the TIFF tags.
  org.apache.commons.imaging.formats.tiff.write | TIFF writers.

- - ### Uses of RationalNumber in org.apache.commons.imaging.common

    Methods in org.apache.commons.imaging.common that return RationalNumber
    Modifier and Type | Method | Description
    --- | --- | ---
    `RationalNumber` | RationalNumber.`negate()` | Negates the value of the RationalNumber.
    `static RationalNumber` | ByteConversions.`toRational​(byte[] bytes, ByteOrder byteOrder, boolean unsignedType)` | Interprets the content of a specified bytes array to create an instance of the RationalNumber class.
    `static RationalNumber[]` | ByteConversions.`toRationals​(byte[] bytes, ByteOrder byteOrder, boolean unsignedType)` |
    `static RationalNumber` | RationalNumber.`valueOf​(double value)` | Calculate rational number using successive approximations.

    Methods in org.apache.commons.imaging.common with parameters of type RationalNumber
    Modifier and Type | Method | Description
    --- | --- | ---
    `static byte[]` | ByteConversions.`toBytes​(RationalNumber[] values, ByteOrder byteOrder)` |
    `static byte[]` | ByteConversions.`toBytes​(RationalNumber value, ByteOrder byteOrder)` |

  - ### Uses of RationalNumber in org.apache.commons.imaging.formats.tiff

    Fields in org.apache.commons.imaging.formats.tiff declared as RationalNumber
    Modifier and Type | Field | Description
    --- | --- | ---
    `RationalNumber` | TiffImageMetadata.GPSInfo.`latitudeDegrees` |
    `RationalNumber` | TiffImageMetadata.GPSInfo.`latitudeMinutes` |
    `RationalNumber` | TiffImageMetadata.GPSInfo.`latitudeSeconds` |
    `RationalNumber` | TiffImageMetadata.GPSInfo.`longitudeDegrees` |
    `RationalNumber` | TiffImageMetadata.GPSInfo.`longitudeMinutes` |
    `RationalNumber` | TiffImageMetadata.GPSInfo.`longitudeSeconds` |

    Methods in org.apache.commons.imaging.formats.tiff that return RationalNumber
    Modifier and Type | Method | Description
    --- | --- | ---
    `RationalNumber` | TiffDirectory.`getFieldValue​(TagInfoRational tag)` |
    `RationalNumber[]` | TiffDirectory.`getFieldValue​(TagInfoRationals tag, boolean mustExist)` |
    `RationalNumber` | TiffDirectory.`getFieldValue​(TagInfoSRational tag)` |
    `RationalNumber[]` | TiffDirectory.`getFieldValue​(TagInfoSRationals tag, boolean mustExist)` |
    `RationalNumber[]` | TiffImageMetadata.`getFieldValue​(TagInfoRationals tag)` |
    `RationalNumber[]` | TiffImageMetadata.`getFieldValue​(TagInfoSRationals tag)` |

    Constructors in org.apache.commons.imaging.formats.tiff with parameters of type RationalNumber
    Constructor | Description
    --- | ---
    `GPSInfo​(String latitudeRef, String longitudeRef, RationalNumber latitudeDegrees, RationalNumber latitudeMinutes, RationalNumber latitudeSeconds, RationalNumber longitudeDegrees, RationalNumber longitudeMinutes, RationalNumber longitudeSeconds)` |

  - ### Uses of RationalNumber in org.apache.commons.imaging.formats.tiff.taginfos

    Methods in org.apache.commons.imaging.formats.tiff.taginfos that return RationalNumber
    Modifier and Type | Method | Description
    --- | --- | ---
    `RationalNumber` | TagInfoRational.`getValue​(ByteOrder byteOrder, byte[] bytes)` |
    `RationalNumber[]` | TagInfoRationals.`getValue​(ByteOrder byteOrder, byte[] bytes)` |
    `RationalNumber` | TagInfoSRational.`getValue​(ByteOrder byteOrder, byte[] bytes)` |
    `RationalNumber[]` | TagInfoSRationals.`getValue​(ByteOrder byteOrder, byte[] bytes)` |

    Methods in org.apache.commons.imaging.formats.tiff.taginfos with parameters of type RationalNumber
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | TagInfoRational.`encodeValue​(ByteOrder byteOrder, RationalNumber value)` |
    `byte[]` | TagInfoRationals.`encodeValue​(ByteOrder byteOrder, RationalNumber... values)` |
    `byte[]` | TagInfoShortOrLongOrRational.`encodeValue​(ByteOrder byteOrder, RationalNumber... values)` |
    `byte[]` | TagInfoShortOrRational.`encodeValue​(ByteOrder byteOrder, RationalNumber... values)` |
    `byte[]` | TagInfoSRational.`encodeValue​(ByteOrder byteOrder, RationalNumber value)` |
    `byte[]` | TagInfoSRationals.`encodeValue​(ByteOrder byteOrder, RationalNumber... values)` |

  - ### Uses of RationalNumber in org.apache.commons.imaging.formats.tiff.write

    Methods in org.apache.commons.imaging.formats.tiff.write with parameters of type RationalNumber
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TiffOutputDirectory.`add​(TagInfoAsciiOrRational tagInfo, RationalNumber... values)` |
    `void` | TiffOutputDirectory.`add​(TagInfoRational tagInfo, RationalNumber value)` |
    `void` | TiffOutputDirectory.`add​(TagInfoRationals tagInfo, RationalNumber... values)` |
    `void` | TiffOutputDirectory.`add​(TagInfoShortOrLongOrRational tagInfo, RationalNumber... values)` |
    `void` | TiffOutputDirectory.`add​(TagInfoShortOrRational tagInfo, RationalNumber... values)` |
    `void` | TiffOutputDirectory.`add​(TagInfoSRational tagInfo, RationalNumber value)` |
    `void` | TiffOutputDirectory.`add​(TagInfoSRationals tagInfo, RationalNumber... values)` |