Package net.sf.geographiclib
Class GeodesicMask
- java.lang.Object
-
- net.sf.geographiclib.GeodesicMask
-
public class GeodesicMask extends Object
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
GeodesicDataobject returned by the general routinesGeodesic.DirectandGeodesic.Inverseroutines. They also signify (via the caps parameter) to theGeodesicLine.GeodesicLineconstructor and toGeodesic.Linewhat capabilities should be included in theGeodesicLineobject.
-
-
Field Summary
Fields Modifier and Type Field Description static intALLAll capabilities, calculate everything.static intAREACalculate area S12.static intAZIMUTHCalculate azimuths azi1 and azi2.static intDISTANCECalculate distance s12.static intDISTANCE_INAllow distance s12 to be used as input in the direct geodesic problem.static intGEODESICSCALECalculate geodesic scales M12 and M21.static intLATITUDECalculate latitude lat2.static intLONG_UNROLLUnroll lon2.static intLONGITUDECalculate longitude lon2.static intNONENo capabilities, no output.static intREDUCEDLENGTHCalculate reduced length m12.static intSTANDARDAll of the above, the "standard" output and capabilities.
-
Constructor Summary
Constructors Constructor Description GeodesicMask()
-
-
-
Field Detail
-
NONE
public static final int NONE
No capabilities, no output.- See Also:
- Constant Field Values
-
LATITUDE
public static final int LATITUDE
Calculate latitude lat2. (It's not necessary to include this as a capability toGeodesicLinebecause this is included by default.)- See Also:
- Constant Field Values
-
LONGITUDE
public static final int LONGITUDE
Calculate longitude lon2.- See Also:
- Constant Field Values
-
AZIMUTH
public static final int AZIMUTH
Calculate azimuths azi1 and azi2. (It's not necessary to include this as a capability toGeodesicLinebecause this is included by default.)- See Also:
- Constant Field Values
-
DISTANCE
public static final int DISTANCE
Calculate distance s12.- See Also:
- Constant Field Values
-
STANDARD
public static final int STANDARD
All of the above, the "standard" output and capabilities.- See Also:
- Constant Field Values
-
DISTANCE_IN
public static final int DISTANCE_IN
Allow distance s12 to be used as input in the direct geodesic problem.- See Also:
- Constant Field Values
-
REDUCEDLENGTH
public static final int REDUCEDLENGTH
Calculate reduced length m12.- See Also:
- Constant Field Values
-
GEODESICSCALE
public static final int GEODESICSCALE
Calculate geodesic scales M12 and M21.- See Also:
- Constant Field Values
-
AREA
public static final int AREA
Calculate area S12.- See Also:
- Constant Field Values
-
ALL
public static final int ALL
All capabilities, calculate everything. (LONG_UNROLL is not included in this mask.)- See Also:
- Constant Field Values
-
LONG_UNROLL
public static final int LONG_UNROLL
Unroll lon2.- See Also:
- Constant Field Values
-
-