## 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 and Description
    --- | ---
    `RationalNumber` | RationalNumber.`negate()`
    `static RationalNumber` | ByteConversions.`toRational(byte[] bytes, ByteOrder byteOrder)`
    `static RationalNumber[]` | ByteConversions.`toRationals(byte[] bytes, ByteOrder byteOrder)`
    `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 and 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 and 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 and Description
    --- | ---
    `RationalNumber` | TiffDirectory.`getFieldValue(TagInfoRational tag)`
    `RationalNumber[]` | TiffImageMetadata.`getFieldValue(TagInfoRationals tag)`
    `RationalNumber[]` | TiffDirectory.`getFieldValue(TagInfoRationals tag, boolean mustExist)`
    `RationalNumber` | TiffDirectory.`getFieldValue(TagInfoSRational tag)`
    `RationalNumber[]` | TiffImageMetadata.`getFieldValue(TagInfoSRationals tag)`
    `RationalNumber[]` | TiffDirectory.`getFieldValue(TagInfoSRationals tag, boolean mustExist)`

    Constructors in org.apache.commons.imaging.formats.tiff with parameters of type RationalNumber
    Constructor and 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 and Description
    --- | ---
    `RationalNumber[]` | TagInfoRationals.`getValue(ByteOrder byteOrder, byte[] bytes)`
    `RationalNumber[]` | TagInfoSRationals.`getValue(ByteOrder byteOrder, byte[] bytes)`
    `RationalNumber` | TagInfoSRational.`getValue(ByteOrder byteOrder, byte[] bytes)`
    `RationalNumber` | TagInfoRational.`getValue(ByteOrder byteOrder, byte[] bytes)`

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

  - ### 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 and 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)`

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.