geodesiccapability.py
Go to the documentation of this file.
1 """geodesiccapability.py: capability constants for geodesic{,line}.py"""
2 # geodesiccapability.py
3 #
4 # This gathers the capability constants need by geodesic.py and
5 # geodesicline.py. See the documentation for the GeographicLib::Geodesic class
6 # for more information at
7 #
8 # https://geographiclib.sourceforge.io/html/annotated.html
9 #
10 # Copyright (c) Charles Karney (2011-2014) <charles@karney.com> and licensed
11 # under the MIT/X11 License. For more information, see
12 # https://geographiclib.sourceforge.io/
13 ######################################################################
14 
16  """
17  Capability constants shared between Geodesic and GeodesicLine.
18  """
19 
20  CAP_NONE = 0
21  CAP_C1 = 1 << 0
22  CAP_C1p = 1 << 1
23  CAP_C2 = 1 << 2
24  CAP_C3 = 1 << 3
25  CAP_C4 = 1 << 4
26  CAP_ALL = 0x1F
27  CAP_MASK = CAP_ALL
28  OUT_ALL = 0x7F80
29  OUT_MASK = 0xFF80 # Includes LONG_UNROLL
30  EMPTY = 0
31  LATITUDE = 1 << 7 | CAP_NONE
32  LONGITUDE = 1 << 8 | CAP_C3
33  AZIMUTH = 1 << 9 | CAP_NONE
34  DISTANCE = 1 << 10 | CAP_C1
35  STANDARD = LATITUDE | LONGITUDE | AZIMUTH | DISTANCE
36  DISTANCE_IN = 1 << 11 | CAP_C1 | CAP_C1p
37  REDUCEDLENGTH = 1 << 12 | CAP_C1 | CAP_C2
38  GEODESICSCALE = 1 << 13 | CAP_C1 | CAP_C2
39  AREA = 1 << 14 | CAP_C4
40  LONG_UNROLL = 1 << 15
41  ALL = OUT_ALL | CAP_ALL # Does not include LONG_UNROLL


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:08