FunctionDrawer

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

Inheritors

Functions

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