lineofsight

package
v0.0.0-...-e449b39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PosLen

type PosLen struct {
	X, Y, L float64
}

func (*PosLen) UpdataLenFrom

func (pl *PosLen) UpdataLenFrom(srcx, srcy float64) PosLen

type PosLenList

type PosLenList []PosLen

func MakePosLenList

func MakePosLenList(srcx, srcy, dstx, dsty float64) PosLenList

func (PosLenList) Len

func (pll PosLenList) Len() int

func (PosLenList) Less

func (pll PosLenList) Less(i, j int) bool

func (PosLenList) Swap

func (pll PosLenList) Swap(i, j int)

func (PosLenList) ToCellLenList

func (pll PosLenList) ToCellLenList() findnear.XYLenList

ToCellLenList calc from-srclen to cell-cross-len

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL