pixled-lib  1.0
Public Member Functions | List of all members
pixled::geometry::Y Class Reference

#include <geometry.h>

Inheritance diagram for pixled::geometry::Y:
Inheritance graph
[legend]
Collaboration diagram for pixled::geometry::Y:
Collaboration graph
[legend]

Public Member Functions

coordinate operator() (led l, time t) const override
 
Ycopy () const override
 

Additional Inherited Members

- Public Types inherited from pixled::base::Function< coordinate >
typedef coordinate Type
 

Detailed Description

Y coordinate of the point on which the Function is currently evaluated.

Return values
coordinatecurrent y coordinate
Examples
pixled/conditional/conditional.cpp, pixled/signal/sawtooth.cpp, pixled/signal/sine.cpp, pixled/signal/square.cpp, and pixled/signal/triangle.cpp.

Member Function Documentation

◆ operator()()

coordinate pixled::geometry::Y::operator() ( led  l,
time  t 
) const
inlineoverridevirtual

Computes the value of this Function for led l at time t.

Parameters
lled
ttime
Returns
Result of this Function, evaluated on led l at time t. Notice that evaluating a function usually requires the recursive evaluation of other Functions (that are actually parameters of this function) until a Constant is reached for example.

Implements pixled::base::Function< coordinate >.

◆ copy()

Y* pixled::geometry::Y::copy ( ) const
inlineoverridevirtual

Returns a dynamically allocated copy of this function.

Returns
copy of this function

Implements pixled::base::Function< coordinate >.


The documentation for this class was generated from the following file: