counter

package
v0.0.0-...-a2c472c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: BSD-4-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	LBCoordinate Point
	DensityMap   []lidario.LasPointer
	Mux          []sync.Mutex
	MapSize      int
	XRange       int
	YRange       int

	ReadStream  chan lidario.LasPointer
	WriteStream chan lidario.LasPointer
	WG          *sync.WaitGroup
	// contains filtered or unexported fields
}

func (*Counter) Count

func (counter *Counter) Count(start int, end int, lf *lidario.LasFile, wg *sync.WaitGroup)

func (*Counter) Init

func (counter *Counter) Init(minx, miny, maxx, maxy, gap float64)

type Point

type Point struct {
	X float64
	Y float64
}

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func (*Reader) Serve

func (reader *Reader) Serve(points <-chan lidario.LasPointer, counter *Counter)

type Writer

type Writer struct {
}

func (*Writer) Serve

func (writer *Writer) Serve(points <-chan lidario.LasPointer, counter *Counter)

Jump to

Keyboard shortcuts

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