Package pygeodesy :: Module bases
[frames] | no frames]

Module bases

(INTERNAL) Common base classes.

After (C) Chris Veness 2011-2015 published under the same MIT Licence**, see http://www.Movable-Type.co.UK/scripts/latlong.html and http://www.Movable-Type.co.UK/scripts/latlong-vectors.html.


Version: 18.10.26

Classes
  LatLonHeightBase
(INTERNAL) Base class for LatLon points on spherical or ellipsiodal earth models.
Functions
 
classname(inst, prefixed=None)
Return an instance' module and class name.
 
classnaming(prefixed=None)
Set the default class naming for [module.]class names.
 
inStr(inst, *args, **kwds)
Return the string representation of an instance.
Function Details

classname(inst, prefixed=None)

 

Return an instance' module and class name.

Parameters:
  • inst - The object (any type).
  • prefixed - Prefix the module name (bool), see function classnaming.
Returns:
The inst's [module.]class name (str).

classnaming(prefixed=None)

 

Set the default class naming for [module.]class names.

Parameters:
  • prefixed - Include the module name (bool).
Returns:
Previous class naming setting (bool).

inStr(inst, *args, **kwds)

 

Return the string representation of an instance.

Parameters:
  • inst - The instance (any type).
  • args - Optional positional arguments.
  • kwds - Optional keyword arguments.
Returns:
The inst's representation (str).