Documentation ¶
Index ¶
- type Cell
- func (c Cell) DatabaseCell() DatabaseCell
- func (c *Cell) DatabaseCellPtr() *DatabaseCell
- func (c Cell) Int64() int64
- func (c Cell) LatLon() (float64, float64)
- func (c Cell) MarshalText() ([]byte, error)
- func (c Cell) Parent(res int) Cell
- func (c Cell) Resolution() int
- func (c Cell) String() string
- func (c *Cell) UnmarshalText(text []byte) error
- type DatabaseCell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cell ¶
type Cell uint64
func CellFromString ¶
func LatLonToCell ¶
func LatLonToRes0ToCell ¶
func MustCellFromString ¶
func (Cell) DatabaseCell ¶
func (c Cell) DatabaseCell() DatabaseCell
func (*Cell) DatabaseCellPtr ¶
func (c *Cell) DatabaseCellPtr() *DatabaseCell
func (Cell) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (Cell) Resolution ¶
func (*Cell) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type DatabaseCell ¶
type DatabaseCell string
func DatabaseCellFromCell ¶
func DatabaseCellFromCell(cell uint64) DatabaseCell
func (DatabaseCell) Cell ¶
func (dc DatabaseCell) Cell() Cell
func (*DatabaseCell) CellPtr ¶
func (dc *DatabaseCell) CellPtr() *Cell
func (DatabaseCell) Int64 ¶
func (dc DatabaseCell) Int64() int64
func (DatabaseCell) Parent ¶
func (dc DatabaseCell) Parent(res int) DatabaseCell
func (DatabaseCell) Resolution ¶
func (dc DatabaseCell) Resolution() int
Click to show internal directories.
Click to hide internal directories.