MCPcopy
hub / github.com/fogleman/ln / Function

Struct Function

ln/function.go:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type Function struct {
13 Function func(x, y float64) float64
14 Box Box
15 Direction Direction
16}
17
18func NewFunction(function func(x, y float64) float64, box Box, direction Direction) Shape {
19 return &Function{function, box, direction}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected