|
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<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...
|
|
template<typename T , detail::enable_if_t< detail::is_pyobj_ptr_or_nullptr_t< T >::value, int > = 0> |
| handle (T ptr) |
|
template<typename T , detail::enable_if_t< detail::all_of< detail::none_of< std::is_base_of< handle, T >, detail::is_pyobj_ptr_or_nullptr_t< T >>, std::is_convertible< T, PyObject *>>::value, int > = 0> |
| handle (T &obj) |
| Enable implicit conversion through T::operator PyObject *() . 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 () |
|
Points on a geodesic path
Definition at line 63 of file geodesicline.py.
◆ __init__()
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.
◆ _GenPosition()
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.
◆ ArcPosition()
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.
◆ Position()
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.
◆ SetArc()
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.
◆ SetDistance()
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.
◆ _A1m1
geographiclib.geodesicline.GeodesicLine._A1m1 |
|
private |
◆ _A2m1
geographiclib.geodesicline.GeodesicLine._A2m1 |
|
private |
◆ _A3c
geographiclib.geodesicline.GeodesicLine._A3c |
|
private |
◆ _A4
geographiclib.geodesicline.GeodesicLine._A4 |
|
private |
◆ _b
geographiclib.geodesicline.GeodesicLine._b |
|
private |
◆ _B11
geographiclib.geodesicline.GeodesicLine._B11 |
|
private |
◆ _B21
geographiclib.geodesicline.GeodesicLine._B21 |
|
private |
◆ _B31
geographiclib.geodesicline.GeodesicLine._B31 |
|
private |
◆ _B41
geographiclib.geodesicline.GeodesicLine._B41 |
|
private |
◆ _C1a
geographiclib.geodesicline.GeodesicLine._C1a |
|
private |
◆ _C1pa
geographiclib.geodesicline.GeodesicLine._C1pa |
|
private |
◆ _c2
geographiclib.geodesicline.GeodesicLine._c2 |
|
private |
◆ _C2a
geographiclib.geodesicline.GeodesicLine._C2a |
|
private |
◆ _C3a
geographiclib.geodesicline.GeodesicLine._C3a |
|
private |
◆ _C4a
geographiclib.geodesicline.GeodesicLine._C4a |
|
private |
◆ _calp0
geographiclib.geodesicline.GeodesicLine._calp0 |
|
private |
◆ _comg1
geographiclib.geodesicline.GeodesicLine._comg1 |
|
private |
◆ _csig1
geographiclib.geodesicline.GeodesicLine._csig1 |
|
private |
◆ _ctau1
geographiclib.geodesicline.GeodesicLine._ctau1 |
|
private |
◆ _dn1
geographiclib.geodesicline.GeodesicLine._dn1 |
|
private |
◆ _f1
geographiclib.geodesicline.GeodesicLine._f1 |
|
private |
◆ _k2
geographiclib.geodesicline.GeodesicLine._k2 |
|
private |
◆ _salp0
geographiclib.geodesicline.GeodesicLine._salp0 |
|
private |
◆ _somg1
geographiclib.geodesicline.GeodesicLine._somg1 |
|
private |
◆ _ssig1
geographiclib.geodesicline.GeodesicLine._ssig1 |
|
private |
◆ _stau1
geographiclib.geodesicline.GeodesicLine._stau1 |
|
private |
geographiclib.geodesicline.GeodesicLine.a |
◆ a13
geographiclib.geodesicline.GeodesicLine.a13 |
◆ azi1
geographiclib.geodesicline.GeodesicLine.azi1 |
◆ calp1
geographiclib.geodesicline.GeodesicLine.calp1 |
◆ caps
geographiclib.geodesicline.GeodesicLine.caps |
geographiclib.geodesicline.GeodesicLine.f |
◆ lat1
geographiclib.geodesicline.GeodesicLine.lat1 |
◆ lon1
geographiclib.geodesicline.GeodesicLine.lon1 |
◆ s13
geographiclib.geodesicline.GeodesicLine.s13 |
◆ salp1
geographiclib.geodesicline.GeodesicLine.salp1 |
The documentation for this class was generated from the following file: