Package org.locationtech.proj4j.geodesic
Class GeodesicMask
- java.lang.Object
-
- org.locationtech.proj4j.geodesic.GeodesicMask
-
public class GeodesicMask extends java.lang.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.protected static int
CAP_ALL
protected static int
CAP_C1
protected static int
CAP_C1p
protected static int
CAP_C2
protected static int
CAP_C3
protected static int
CAP_C4
protected static int
CAP_MASK
protected static int
CAP_NONE
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.protected static int
OUT_ALL
protected static int
OUT_MASK
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
-
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 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
-
-