All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.geographiclib.Pair Maven / Gradle / Ivy

Go to download

This is a Java implementation of the geodesic algorithms from GeographicLib. This is a self-contained library to solve geodesic problems on an ellipsoid model of the earth. It requires Java version 1.7 or later.

There is a newer version: 2.0
Show newest version
/**
 * Implementation of the net.sf.geographiclib.Pair class
 *
 * Copyright (c) Charles Karney (2013)  and licensed
 * under the MIT/X11 License.  For more information, see
 * http://geographiclib.sourceforge.net/
 **********************************************************************/
package net.sf.geographiclib;

/**
 * A pair of double precision numbers.
 * 

* This duplicates the C++ class {@code std::pair}. **********************************************************************/ public class Pair { /** * The first member of the pair. **********************************************************************/ public double first; /** * The second member of the pair. **********************************************************************/ public double second; /** * Constructor *

* @param first the first member of the pair. * @param second the second member of the pair. **********************************************************************/ public Pair(double first, double second) { this.first = first; this.second = second; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy