Documentation
¶
Overview ¶
Generic point-in-polygon finder for large data sets.
Index ¶
- Variables
- type F
- func (f *F[T]) FindAll(x float64, y float64) ([]T, error)
- func (f *F[T]) FindAllWithPoly(x float64, y float64) ([]*Item[T], error)
- func (f *F[T]) FindOne(x float64, y float64) (T, error)
- func (f *F[T]) FindOneWithPoly(x float64, y float64) (*Item[T], error)
- func (f *F[T]) Insert(poly *geometry.Poly, v T)
- type Item
- type RF
- func (rf *RF[T]) FindAll(x float64, y float64, xDiff float64, yDiff float64) ([]T, error)
- func (rf *RF[T]) FindAllWithPoly(x float64, y float64, xDiff float64, yDiff float64) ([]*Item[T], error)
- func (rf *RF[T]) FindOne(x float64, y float64, xDiff float64, yDiff float64) (T, error)
- func (rf *RF[T]) FindOneWithPoly(x float64, y float64, xDiff float64, yDiff float64) (*Item[T], error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("polyf: not found")
Functions ¶
This section is empty.
Types ¶
type F ¶
func (*F[T]) FindAllWithPoly ¶ added in v0.2.1
func (*F[T]) FindOneWithPoly ¶ added in v0.2.1
type RF ¶ added in v0.2.0
func NewRFFromF ¶ added in v0.2.0
func (*RF[T]) FindAllWithPoly ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.