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

# Class _CompositeBase

      object --+
               |
    named._Named --+
                   |
                  _CompositeBase

Known Subclasses:
  - _CompositeFHP
  - , _CompositeGH
  - , _CompositeEdges

(INTERNAL) Base class for `_CompositeFHP` and `_CompositeGH`.

Instance Methods
__init__(self, lls, name='', kind='', eps=2.220446049250313e-16) x.__init__(...) initializes x; see help(type(x)) for signature |
__contains__(self, v) |
__eq__(self, other) Is this `composite` equivalent to an `other`, i.e. |
__iter__(self) |
__ne__(self, other) |
__len__(self) |
__repr__(self) String `repr` of this composite. |
__str__(self) String `str` of this composite. |
clipids(self) Return a tuple with all `clipid`s, ordered. |
toLatLon(self, LatLon, **LatLon_kwds) Yield all (non-duplicate) points and intersections as an instance of `LatLon`. |
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
| eps Get the null edges tolerance (`degrees`, usually).
| raiser Get the option to throw ClipError exceptions (`bool`).
Inherited from `named._Named`: `classname`, `classnaming`, `iteration`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### __init__ (self, lls, name='', kind='', eps=2.220446049250313e-16) (Constructor) |
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### __eq__ (self, other) (Equality operator) |
Is this `composite` equivalent to an `other`, i.e. both contain equivalent clips in the same or a different order? Clips are considered equivalent if they have the same points in the same order, possibly rotated.

### __repr__ (self) (Representation operator) |
String `repr` of this composite. Overrides: object.__repr__

### __str__ (self) (Informal representation operator) |
String `str` of this composite. Overrides: object.__str__

### toLatLon (self, LatLon, **LatLon_kwds) |
Yield all (non-duplicate) points and intersections as an instance of `LatLon`. Arguments: `LatLon` - Class to use (`LatLon`). `LatLon_kwds` - Optional, additional `LatLon` keyword arguments. Raises: `TypeError` - Invalid `LatLon`. Note: For intersections, `height` is an instance of HeightX, otherwise of Height.

Property Details

### eps Get the null edges tolerance (`degrees`, usually). Get method: eps(self) - Get the null edges tolerance (`degrees`, usually). Set method: eps(self, eps) - Set the null edges tolerance (`degrees`, usually).

### raiser Get the option to throw ClipError exceptions (`bool`). Get method: raiser(self) - Get the option to throw ClipError exceptions (`bool`). Set method: raiser(self, throw) - Set the option to throw ClipError exceptions (`bool`).