Package pygeodesy :: Package geodesicx :: Module gx :: Class GeodesicLineExact |
[frames] | no frames]

# Class GeodesicLineExact

       object --+
                |
     named._Named --+
                    |
     named._NamedBase --+
                        |
    gxbases._GeodesicBase --+
                            |
    gxline._GeodesicLineExact --+
                                |
                               GeodesicLineExact

A pure Python version of Karney's C++ class GeodesicLineExact, modeled after Karney's Python class GeodesicLine.

Instance Methods
__init__(self, geodesic, lat1, lon1, azi1, caps=3968, name='') New GeodesicLineExact instance, allowing points to be found along a geodesic starting at `(lat1, lon1)` with azimuth `azi1`. |
Inherited from `gxline._GeodesicLineExact`: `ArcPosition`, `Position`, `SetArc`, `SetDistance`, `__del__`, `caps_`, `toStr` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `others`, `toRepr` Inherited from `named._Named`: `_DOT_`, `attrs`, `classof`, `copy`, `rename`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Class Variables
Inherited from `gxbases._GeodesicBase`: `ALL`, `AREA`, `AZIMUTH`, `DISTANCE`, `DISTANCE_IN`, `EMPTY`, `GEODESICSCALE`, `LATITUDE`, `LONGITUDE`, `LONG_UNROLL`, `REDUCEDLENGTH`, `STANDARD`

Properties
Inherited from `gxline._GeodesicLineExact`: `a13`, `azi0`, `azi0_sincos2`, `azi1`, `azi1_sincos2`, `caps`, `geodesic`, `lat1`, `lon1`, `s13` Inherited from `gxbases._GeodesicBase`: `debug` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### __init__ (self, geodesic, lat1, lon1, azi1, caps=3968, name='') (Constructor) |
New GeodesicLineExact instance, allowing points to be found along a geodesic starting at `(lat1, lon1)` with azimuth `azi1`. Arguments: `geodesic` - The geodesic to use (GeodesicExact). `lat1` - Latitude of the first point (`degrees`). `lon1` - Longitude of the first point (`degrees`). `azi1` - Azimuth at the first points (compass `degrees`). `caps` - Bit-or'ed combination of Caps values specifying the capabilities the GeodesicLineExact instance should possess, i.e., which quantities can be returned by calls to GeodesicLineExact.Position and GeodesicLineExact.ArcPosition. `name` - Optional name (`str`). Raises: `TypeError` - Invalid `geodesic`. Overrides: object.__init__