swot_simulator.math.Point#
- class swot_simulator.math.Point(lon, lat)#
Bases:
tuple
Defines a 2D Point
- __init__()#
Methods
Point.count
(value, /)Return number of occurrences of value.
Point.index
(value[, start, stop])Return first index of value.
Return self as a plain tuple.
Point.__new__
(_cls, lon, lat)Create new instance of Point(lon, lat)
Return a nicely formatted representation string
Return a new dict which maps field names to their values.
Point._make
(iterable)Make a new Point object from a sequence or iterable
Point._replace
(**kwds)Return a new Point object replacing specified fields with new values
Attributes