package
0.0.0-20220831181609-9c88ebf2c706
Repository: https://github.com/adamcolton/geom.git
Documentation: pkg.go.dev

# Functions

NewDenseFloatGrid with a size determined by the Iterator generated by the IteratorFactory.
NewDenseGrid creates a DenseGrid with Data allocated at the correct size.
NewScanner creates a scanner based on a Range.
NewSparseGrid creates a SparseGrid.

# Constants

Common aspect rations.
ScanPrimaryReversed causes the scan in the primary direction to proceed backward.
ScanSecondaryReversed causes the scan in the secondary direction to proceed backward.
ScanVertical will scan columns then rows.
Common aspect rations.
TwoMask sets the one bit to zero, the result is always divisible by 2.
Common aspect rations.

# Structs

BaseIteratorWrapper takes a BaseIterator and extends it's functionality.
DenseFloatGrid stores a fixed size grid of float64s.
DenseGrid is backed by a slice and should have an entry for every node in the grid.
Pt is a cell in a grid.
Scale is used to convert a Grid Pt to two float64 values, often.
Scanner scans a rectangular region.
SparseGrid is backed by a map so it can hold an arbitrary amount of data.

# Interfaces

BaseIterator contains the methods needed for BaseIteratorWrapper to create an Iterator.
Grid is used to store data in a 2 dimensional grid.
Iterator is used to iterate over the cells in a grid.
IteratorFactory is anything that can produce an iterator.

# Type aliases

No description provided by the author
FloatGenerator returns a float64 given a pt.
Generator is used to fill grids from their point values.
Range represents a grid with the first point being inclusive and the second point exclusive.
ScanOption allows the scanner operation to be configured.