FunctionDrawer

interface FunctionDrawer

Defines an object capable of drawing functions that take a Position of type P as input and give a Number as output.

Functions

Link copied to clipboard
abstract fun <T, P : Position2D<P>?> drawFunction(    function: (out Any) -> out Number,     environment: Environment<T, P>,     graphics: Graphics2D,     wormhole: Wormhole2D<P>)
Draw the provided function.

Inheritors

Link copied to clipboard