Package org.locationtech.proj4j.geodesic
Class GeodesicMask
- java.lang.Object
-
- org.locationtech.proj4j.geodesic.GeodesicMask
-
public class GeodesicMask extends java.lang.ObjectBit 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.protected static intCAP_ALLprotected static intCAP_C1protected static intCAP_C1pprotected static intCAP_C2protected static intCAP_C3protected static intCAP_C4protected static intCAP_MASKprotected static intCAP_NONEstatic 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.protected static intOUT_ALLprotected static intOUT_MASKstatic intREDUCEDLENGTHCalculate reduced length m12.static intSTANDARDAll of the above, the "standard" output and capabilities.
-
Constructor Summary
Constructors Constructor Description GeodesicMask()
-
-
-
Field Detail
-
CAP_NONE
protected static final int CAP_NONE
- See Also:
- Constant Field Values
-
CAP_C1
protected static final int CAP_C1
- See Also:
- Constant Field Values
-
CAP_C1p
protected static final int CAP_C1p
- See Also:
- Constant Field Values
-
CAP_C2
protected static final int CAP_C2
- See Also:
- Constant Field Values
-
CAP_C3
protected static final int CAP_C3
- See Also:
- Constant Field Values
-
CAP_C4
protected static final int CAP_C4
- See Also:
- Constant Field Values
-
CAP_ALL
protected static final int CAP_ALL
- See Also:
- Constant Field Values
-
CAP_MASK
protected static final int CAP_MASK
- See Also:
- Constant Field Values
-
OUT_ALL
protected static final int OUT_ALL
- See Also:
- Constant Field Values
-
OUT_MASK
protected static final int OUT_MASK
- See Also:
- Constant Field Values
-
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
-
-