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 intAll capabilities, calculate everything.static final intCalculate area S12.static final intCalculate azimuths azi1 and azi2.static final intCalculate distance s12.static final intAllow distance s12 to be used as input in the direct geodesic problem.static final intCalculate geodesic scales M12 and M21.static final intCalculate latitude lat2.static final intUnroll lon2.static final intCalculate longitude lon2.static final intNo capabilities, no output.static final intCalculate reduced length m12.static final intAll 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 toGeodesicLinebecause 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 toGeodesicLinebecause 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()
-