Skip to content

Releases

v0.1.0

Choose a tag to compare

@tomas-novotny tomas-novotny released this 06 Nov 13:39

Added

  • Hash, a uniform spatial hash over an unbounded plane on geometry v1.18.0: NewHash, CellSize, Set, Get, Delete, Len, Clear and All, with ErrInvalidCellSize wrapped by the panic of NewHash
  • Hash.QueryBox and Hash.QueryPoint, with their Append forms
  • Hash.QuerySegment and Hash.QueryRay as iter.Seq that can stop early, with their Append forms
  • Hash.Pairs and Hash.AppendPairs, every pair of touching keys once, and the Pair they return