tile_renderer.coord.Coord

class tile_renderer.coord.Coord(x: 'T', y: 'T')

Bases: Vector, Generic

__init__(x: T, y: T) None

Methods

__init__(x, y)

as_tuple()

decode(obj)

dot(other)

encode()

perp()

to_float()

to_int()

unit()

Attributes

shapely

x

y

as_tuple() tuple[T, T]
classmethod decode(obj: tuple[T, T]) Self
dot(other)
encode() tuple[T, T]
perp() Self
property shapely: Point
to_float() Coord[float]
to_int() Coord[int]
unit() Vector[float]
x: T
y: T