Package net.sf.geographiclib
Class GeodesicMask
java.lang.Object
net.sf.geographiclib.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
and Geodesic.Inverse
routines. They also signify (via the caps
parameter) to the GeodesicLine.GeodesicLine
constructor and to Geodesic.Line
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.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.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
-
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:
-
REDUCEDLENGTH
public static final int REDUCEDLENGTHCalculate reduced length m12.- See Also:
-
GEODESICSCALE
public static final int GEODESICSCALECalculate 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
public GeodesicMask()
-