Versions in this module Expand all Collapse all v1 v1.0.0 Oct 27, 2026 Changes in this version + type Array struct + func Arr[T any, S geom.Integer](size geom.Size[S]) Array[T, S] + func (a *Array[T, S]) UnmarshalJSON(data []byte) error + func (a Array[T, S]) All() iter.Seq2[geom.Point[S], *T] + func (a Array[T, S]) Clear() + func (a Array[T, S]) Clone() Array[T, S] + func (a Array[T, S]) Contains(index geom.Point[S]) bool + func (a Array[T, S]) Data() []T + func (a Array[T, S]) Fill(value T) + func (a Array[T, S]) Get(index geom.Point[S]) *T + func (a Array[T, S]) Height() S + func (a Array[T, S]) Keys() iter.Seq[geom.Point[S]] + func (a Array[T, S]) Len() int + func (a Array[T, S]) MarshalJSON() ([]byte, error) + func (a Array[T, S]) Set(index geom.Point[S], value T) + func (a Array[T, S]) Size() geom.Size[S] + func (a Array[T, S]) Values() iter.Seq[*T] + func (a Array[T, S]) Width() S + type Set struct + func SetFrom[E interface{ ... }](elements []E) Set[E] + func SetOf[E interface{ ... }](elements ...E) Set[E] + func (s *Set[E]) UnmarshalJSON(data []byte) error + func (s Set[E]) All() iter.Seq[E] + func (s Set[E]) AppendElements(dst []E) []E + func (s Set[E]) At(i int) E + func (s Set[E]) Backward() iter.Seq[E] + func (s Set[E]) Contains(element E) bool + func (s Set[E]) Difference(other Set[E]) Set[E] + func (s Set[E]) Elements() []E + func (s Set[E]) Encloses(other Set[E]) bool + func (s Set[E]) Equal(other Set[E]) bool + func (s Set[E]) First() (E, bool) + func (s Set[E]) Index(element E) (int, bool) + func (s Set[E]) Intersection(other Set[E]) Set[E] + func (s Set[E]) Intersects(other Set[E]) bool + func (s Set[E]) IsEmpty() bool + func (s Set[E]) Last() (E, bool) + func (s Set[E]) Len() int + func (s Set[E]) MarshalJSON() ([]byte, error) + func (s Set[E]) SymmetricDifference(other Set[E]) Set[E] + func (s Set[E]) Union(other Set[E]) Set[E]