Package com.irurueta.navigation.geodesic
Class Pair
java.lang.Object
com.irurueta.navigation.geodesic.Pair
A pair of double precision numbers.
This is like C++ class
std::pair<double, double>
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
first
private double firstThe first member of the pair. -
second
private double secondThe 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.
-
-
Method Details
-
getFirst
public double getFirst()Gets the first member of the pair.- Returns:
- first member of the pair.
-
setFirst
public void setFirst(double first) Sets the first member of the pair.- Parameters:
first
- first member of the pair.
-
getSecond
public double getSecond()Gets the second member of the pair.- Returns:
- second member of the pair.
-
setSecond
public void setSecond(double second) Sets the second member of the pair.- Parameters:
second
- second member of the pair.
-