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.

Point.__getnewargs__()

Return self as a plain tuple.

Point.__match_args__

Point.__new__(_cls, lon, lat)

Create new instance of Point(lon, lat)

Point.__repr__()

Return a nicely formatted representation string

Point.__slots__

Point._asdict()

Return a new dict which maps field names to their values.

Point._field_defaults

Point._fields

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

Point.lat

Alias for field number 1

Point.lon

Alias for field number 0