Package com.irurueta.navigation.geodesic
Class GeodesicMask
java.lang.Object
com.irurueta.navigation.geodesic.GeodesicMask
Bit masks for what geodesic calculations to do.
These masks do double duty. They specify (via the outmask parameter) which
results to return in the
GeodesicData
object returned by the general routines
Geodesic.direct(double, double, double, double, int)
and
Geodesic.inverse(double, double, double, double, int)
routines.
They also signify (via the caps parameter) to the
GeodesicLine
constructor
and to Geodesic.line(double, double, double, int)
what capabilities
should be included in the GeodesicLine
object.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
All capabilities, calculate everything.static final int
Calculate area S12.static final int
Calculate azimuths azi1 and azi2.private static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
static final int
Calculate distance s12.static final int
Allow distance s12 to be used as input in the direct geodesic problem.static final int
Calculate geodesic scales M12 and M21.static final int
Calculate latitude lat2.static final int
Unroll lon2.static final int
Calculate longitude lon2.static final int
No capabilities, no output.protected static final int
protected static final int
static final int
Calculate reduced length m12.static final int
All of the above, the "standard" output and capabilities. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CAP_C1
protected static final int CAP_C1- See Also:
-
CAP_C1P
protected static final int CAP_C1P- See Also:
-
CAP_C2
protected static final int CAP_C2- See Also:
-
CAP_C3
protected static final int CAP_C3- See Also:
-
CAP_C4
protected static final int CAP_C4- See Also:
-
OUT_ALL
protected static final int OUT_ALL- See Also:
-
OUT_MASK
protected static final int OUT_MASK- See Also:
-
CAP_ALL
private static final int CAP_ALL- See Also:
-
NONE
public static final int NONENo capabilities, no output.- See Also:
-
LATITUDE
public static final int LATITUDECalculate latitude lat2. (It's not necessary to include this as a capability toGeodesicLine
because this is included by default.)- See Also:
-
LONGITUDE
public static final int LONGITUDECalculate longitude lon2.- See Also:
-
AZIMUTH
public static final int AZIMUTHCalculate azimuths azi1 and azi2. (It's not necessary to include this as a capability toGeodesicLine
because this is included by default.)- See Also:
-
DISTANCE
public static final int DISTANCECalculate distance s12.- See Also:
-
STANDARD
public static final int STANDARDAll of the above, the "standard" output and capabilities.- See Also:
-
DISTANCE_IN
public static final int DISTANCE_INAllow distance s12 to be used as input in the direct geodesic problem.- See Also:
-
REDUCED_LENGTH
public static final int REDUCED_LENGTHCalculate reduced length m12.- See Also:
-
GEODESIC_SCALE
public static final int GEODESIC_SCALECalculate geodesic scales M12 and M21.- See Also:
-
AREA
public static final int AREACalculate area S12.- See Also:
-
ALL
public static final int ALLAll capabilities, calculate everything. (LONG_UNROLL is not included in this mask.)- See Also:
-
LONG_UNROLL
public static final int LONG_UNROLLUnroll lon2.- See Also:
-
-
Constructor Details
-
GeodesicMask
private GeodesicMask()Constructor. Prevents instantiation.
-