Class GeodesicMask
java.lang.Object
org.locationtech.proj4j.geodesic.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.protected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intstatic 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.protected static final intprotected static final intstatic final intCalculate reduced length m12.static final intAll of the above, the "standard" output and capabilities. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CAP_NONE
protected static final int CAP_NONE- See Also:
-
CAP_C1
protected static final int CAP_C1- See Also:
-
CAP_C1p
protected static final int CAP_C1p- See Also:
-
CAP_C2
protected static final int CAP_C2- See Also:
-
CAP_C3
protected static final int CAP_C3- See Also:
-
CAP_C4
protected static final int CAP_C4- See Also:
-
CAP_ALL
protected static final int CAP_ALL- See Also:
-
CAP_MASK
protected static final int CAP_MASK- See Also:
-
OUT_ALL
protected static final int OUT_ALL- See Also:
-
OUT_MASK
protected static final int OUT_MASK- See Also:
-
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()
-