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

# Class LatLonFHP

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

A point or intersection in a BooleanFHP clip or composite.

Instance Methods
__init__(self, lat_ll, *lon_h_clipid, **wrap_name) New `LatLonFHP` from separate `lat`, `lon`, `h`eight and `clipid` scalars, or from a previous LatLonFHP, a ClipFHP4Tuple or some other `LatLon` instance. |
__add__(self, other) |
__mod__(self, other) |
__mul__(self, other) |
__rmul__(self, other) |
isenclosedBy(self, *composites_points, **wrap) Is this point inside one or more composites or polygons based the winding number? |
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 `LatLonFHP` from separate `lat`, `lon`, `h`eight and `clipid` scalars, or from a previous LatLonFHP, a ClipFHP4Tuple or some other `LatLon` instance. Arguments: `lat_ll` - Latitude (`scalar`) or a lat/longitude (LatLonFHP, `LatLon` or ClipFHP4Tuple). `lon_h_clipid` - Longitude (`scalar`), `h`eight 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 the winding number? Arguments: `composites_points` - Composites and/or iterables of points (ClipFHP4Tuple, ClipGH4Tuple, LatLonFHP, LatLonGH or any `LatLon`). `wrap` - If `True`, wrap or normalize and unroll the `points` (`bool`). Raises: `ValueError` - Some `points` invalid. See Also: Algorithm 6.