Package pygeodesy :: Module booleans :: Class LatLonGH
[frames] | no frames]

Class LatLonGH

  object --+        
           |        
named._Named --+    
               |    
     _LatLonBool --+
                   |
                  LatLonGH

A point or intersection in a BooleanGH clip or composite.

Instance Methods
 
__init__(self, lat_ll, *lon_h_clipid, **wrap_name)
New LatLonGH from separate lat, lon, height and clipid scalars, or from a previous LatLonGH, ClipGH4Tuple or some other LatLon instance.
 
isenclosedBy(self, *composites_points, **wrap)
Is this point inside one or more composites or polygons based on the even-odd-rule?

Inherited from _LatLonBool: __abs__, __eq__, __ne__, __repr__, __str__, __sub__, isequalTo

Inherited from named._Named: __imatmul__, __matmul__, __rmatmul__, attrs, classof, copy, dup, methodname, rename, toRepr, toStr, toStr2

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from _LatLonBool: clipid, height, isintersection, ispoint, lat, latlon, lon

Inherited from named._Named: classname, classnaming, iteration, name, named, named2, named3, named4, sizeof

Inherited from object: __class__

Method Details

__init__ (self, lat_ll, *lon_h_clipid, **wrap_name)
(Constructor)

 

New LatLonGH from separate lat, lon, height and clipid scalars, or from a previous LatLonGH, ClipGH4Tuple or some other LatLon instance.

Arguments:
  • lat_ll - Latitude (scalar) or a lat/longitude (LatLonGH, LatLon or ClipGH4Tuple).
  • lon_h_clipid - Longitude (scalar), height and clipid iff lat_ll is scalar, ignored otherwise.
  • wrap_name - Keyword arguments wrap=False and name=NN. If wrap is True, wrap or normalize the lat- and longitude (bool). Optional name (str).
Overrides: object.__init__

isenclosedBy (self, *composites_points, **wrap)

 

Is this point inside one or more composites or polygons based on the even-odd-rule?

Arguments:
Raises:
  • ValueError - Some points invalid.