|
def | __init__ (self, geod, lat1, lon1, azi1, caps=GeodesicCapability.STANDARD|GeodesicCapability.DISTANCE_IN, salp1=Math.nan, calp1=Math.nan) |
|
def | ArcPosition (self, a12, outmask=GeodesicCapability.STANDARD) |
|
def | Position (self, s12, outmask=GeodesicCapability.STANDARD) |
|
def | SetArc (self, a13) |
|
def | SetDistance (self, s13) |
|
template<typename T > |
T | cast () const & |
|
template<typename T > |
T | cast ()&& |
|
template<> |
void | cast () const & |
|
template<> |
void | cast ()&& |
|
| object ()=default |
|
| object (const object &o) |
| Copy constructor; always increases the reference count. More...
|
|
| object (object &&other) noexcept |
| Move constructor; steals the object from other and preserves its reference count. More...
|
|
| object (handle h, borrowed_t) |
|
| object (handle h, stolen_t) |
|
object & | operator= (const object &other) |
|
object & | operator= (object &&other) noexcept |
|
| PYBIND11_DEPRECATED ("Use reinterpret_borrow<object>() or reinterpret_steal<object>()") object(handle h |
|
handle | release () |
|
| ~object () |
| Destructor; automatically calls handle::dec_ref() More...
|
|
Public Member Functions inherited from handle |
template<typename T > |
T | cast () const |
|
template<> |
void | cast () const |
|
bool | check () const |
|
const handle & | dec_ref () const & |
|
| handle ()=default |
| The default constructor creates a handle with a nullptr -valued pointer. More...
|
|
| handle (PyObject *ptr) |
| Creates a handle from the given raw Python object pointer. More...
|
|
const handle & | inc_ref () const & |
|
| operator bool () const |
| Return true when the handle wraps a valid Python object. More...
|
|
bool | operator!= (const handle &h) const |
|
bool | operator== (const handle &h) const |
|
PyObject * | ptr () const |
| Return the underlying PyObject * pointer. More...
|
|
PyObject *& | ptr () |
|
|
Protected Attributes inherited from handle |
PyObject * | m_ptr = nullptr |
|
Points on a geodesic path
Definition at line 63 of file geodesicline.py.
Construct a GeodesicLine object
:param geod: a :class:`~geographiclib.geodesic.Geodesic` object
:param lat1: latitude of the first point in degrees
:param lon1: longitude of the first point in degrees
:param azi1: azimuth at the first point in degrees
:param caps: the :ref:`capabilities <outmask>`
This creates an object allowing points along a geodesic starting at
(*lat1*, *lon1*), with azimuth *azi1* to be found. The default
value of *caps* is STANDARD | DISTANCE_IN. The optional parameters
*salp1* and *calp1* should not be supplied; they are part of the
private interface.
Definition at line 69 of file geodesicline.py.
def geographiclib.geodesicline.GeodesicLine._GenPosition |
( |
|
self, |
|
|
|
arcmode, |
|
|
|
s12_a12, |
|
|
|
outmask |
|
) |
| |
|
private |
Private: General solution of position along geodesic
Definition at line 189 of file geodesicline.py.
Find the position on the line given *a12*
:param a12: spherical arc length from the first point to the second
in degrees
:param outmask: the :ref:`output mask <outmask>`
:return: a :ref:`dict`
The default value of *outmask* is STANDARD, i.e., the *lat1*,
*lon1*, *azi1*, *lat2*, *lon2*, *azi2*, *s12*, *a12* entries are
returned.
Definition at line 374 of file geodesicline.py.
Find the position on the line given *s12*
:param s12: the distance from the first point to the second in
meters
:param outmask: the :ref:`output mask <outmask>`
:return: a :ref:`dict`
The default value of *outmask* is STANDARD, i.e., the *lat1*,
*lon1*, *azi1*, *lat2*, *lon2*, *azi2*, *s12*, *a12* entries are
returned. The :class:`~geographiclib.geodesicline.GeodesicLine`
object must have been constructed with the DISTANCE_IN capability.
Definition at line 341 of file geodesicline.py.
def geographiclib.geodesicline.GeodesicLine.SetArc |
( |
|
self, |
|
|
|
a13 |
|
) |
| |
Specify the position of point 3 in terms of arc length
:param a13: spherical arc length from point 1 to point 3 in degrees
Definition at line 416 of file geodesicline.py.
def geographiclib.geodesicline.GeodesicLine.SetDistance |
( |
|
self, |
|
|
|
s13 |
|
) |
| |
Specify the position of point 3 in terms of distance
:param s13: distance from point 1 to point 3 in meters
Definition at line 406 of file geodesicline.py.
geographiclib.geodesicline.GeodesicLine._A1m1 |
|
private |
geographiclib.geodesicline.GeodesicLine._A2m1 |
|
private |
geographiclib.geodesicline.GeodesicLine._A3c |
|
private |
geographiclib.geodesicline.GeodesicLine._A4 |
|
private |
geographiclib.geodesicline.GeodesicLine._b |
|
private |
geographiclib.geodesicline.GeodesicLine._B11 |
|
private |
geographiclib.geodesicline.GeodesicLine._B21 |
|
private |
geographiclib.geodesicline.GeodesicLine._B31 |
|
private |
geographiclib.geodesicline.GeodesicLine._B41 |
|
private |
geographiclib.geodesicline.GeodesicLine._C1a |
|
private |
geographiclib.geodesicline.GeodesicLine._C1pa |
|
private |
geographiclib.geodesicline.GeodesicLine._c2 |
|
private |
geographiclib.geodesicline.GeodesicLine._C2a |
|
private |
geographiclib.geodesicline.GeodesicLine._C3a |
|
private |
geographiclib.geodesicline.GeodesicLine._C4a |
|
private |
geographiclib.geodesicline.GeodesicLine._calp0 |
|
private |
geographiclib.geodesicline.GeodesicLine._comg1 |
|
private |
geographiclib.geodesicline.GeodesicLine._csig1 |
|
private |
geographiclib.geodesicline.GeodesicLine._ctau1 |
|
private |
geographiclib.geodesicline.GeodesicLine._dn1 |
|
private |
geographiclib.geodesicline.GeodesicLine._f1 |
|
private |
geographiclib.geodesicline.GeodesicLine._k2 |
|
private |
geographiclib.geodesicline.GeodesicLine._salp0 |
|
private |
geographiclib.geodesicline.GeodesicLine._somg1 |
|
private |
geographiclib.geodesicline.GeodesicLine._ssig1 |
|
private |
geographiclib.geodesicline.GeodesicLine._stau1 |
|
private |
geographiclib.geodesicline.GeodesicLine.a |
geographiclib.geodesicline.GeodesicLine.a13 |
geographiclib.geodesicline.GeodesicLine.azi1 |
geographiclib.geodesicline.GeodesicLine.calp1 |
geographiclib.geodesicline.GeodesicLine.caps |
geographiclib.geodesicline.GeodesicLine.f |
geographiclib.geodesicline.GeodesicLine.lat1 |
geographiclib.geodesicline.GeodesicLine.lon1 |
geographiclib.geodesicline.GeodesicLine.s13 |
geographiclib.geodesicline.GeodesicLine.salp1 |
The documentation for this class was generated from the following file: