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
GeodesicData
object returned by the general routinesGeodesic.Direct
andGeodesic.Inverse
routines. They also signify (via the caps parameter) to theGeodesicLine.GeodesicLine
constructor and toGeodesic.Line
what capabilities should be included in theGeodesicLine
object.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALL
All capabilities, calculate everything.static int
AREA
Calculate area S12.static int
AZIMUTH
Calculate azimuths azi1 and azi2.static int
DISTANCE
Calculate distance s12.static int
DISTANCE_IN
Allow distance s12 to be used as input in the direct geodesic problem.static int
GEODESICSCALE
Calculate geodesic scales M12 and M21.static int
LATITUDE
Calculate latitude lat2.static int
LONG_UNROLL
Unroll lon2.static int
LONGITUDE
Calculate longitude lon2.static int
NONE
No capabilities, no output.static int
REDUCEDLENGTH
Calculate reduced length m12.static int
STANDARD
All 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 toGeodesicLine
because 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 toGeodesicLine
because 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
-
-