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

# Module css

Cassini-Soldner projection class CassiniSoldner requiring GeographicLib.

Version: 19.06.29

Classes
| CassiniSoldner A Python version of Charles Karney's CassiniSoldner C++ class.
| Css Cassini-Soldner East-/Northing location.

Functions
toCss(latlon, cs0=None, height=None, Css=<class 'pygeodesy.css.Css'>, name=`'````'`) Convert an (ellipsoidal) geodetic point to a Cassini-Soldner location. |

Variables
| __all__ = `_ALL_LAZY.css`

Function Details

### toCss(latlon, cs0=None, height=None, Css=<class 'pygeodesy.css.Css'>, name=`'````'`) |
Convert an (ellipsoidal) geodetic point to a Cassini-Soldner location. Parameters: `latlon` - Ellipsoidal point (`LatLon`). `cs0` - Optional, the Cassini-Soldner projection to use (CassiniSoldner). `height` - Optional height for the point, overriding the default height (`meter`). `Css` - Optional (sub-)class to return the location (Css) or `None`. `name` - Optional `Css` name (`str`). Returns: The Cassini-Soldner location (`Css`) or an EasNor3Tuple`(easting, northing, height)` if `Css` is `None`. Raises: `ImportError` - Package GeographicLib missing. `TypeError` - If `latlon` is not ellipsoidal.