Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mesh ¶
type Mesh[V any] struct { Nodes ds.SparseList[Node[V]] Edges ds.SparseList[Edge] }
type Shape ¶
type Shape[V any] interface { Distance(shape Shape[V]) ShapeDistance }
type ShapeDistance ¶
func (ShapeDistance) InIntersecting ¶
func (sr ShapeDistance) InIntersecting() bool
func (ShapeDistance) IsInside ¶
func (sr ShapeDistance) IsInside() bool
func (ShapeDistance) IsOutside ¶
func (sr ShapeDistance) IsOutside() bool
type Space ¶
type Space[V any] interface { Add(node Node[V]) Knn(shape Shape[V], out []SpaceKnn[V]) Relative(shape Shape[V], dist ShapeDistance, listener SpaceListener[V]) }
type SpaceListener ¶
type SpaceListener[V any] func(shape Shape[V], dist ShapeDistance) bool
Click to show internal directories.
Click to hide internal directories.