Class Pair

java.lang.Object
org.locationtech.proj4j.geodesic.Pair

public class Pair extends Object
A pair of double precision numbers.

This duplicates the C++ class std::pair<double, double>.

  • Field Details

    • first

      public double first
      The first member of the pair.
    • second

      public double second
      The second member of the pair.
  • Constructor Details

    • Pair

      public Pair(double first, double second)
      Constructor

      Parameters:
      first - the first member of the pair.
      second - the second member of the pair.
    • Pair

      public Pair()
      No-argument Constructor