MCPcopy Create free account
hub / github.com/Kitware/VTK / ValueFunction

Method ValueFunction

Filters/General/vtkTimeSourceExample.cxx:24–27  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

22
23//------------------------------------------------------------------------------
24double vtkTimeSourceExample::ValueFunction(double t)
25{
26 return sin(2 * vtkMath::Pi() * t);
27}
28
29//------------------------------------------------------------------------------
30double vtkTimeSourceExample::XFunction(double t)

Callers 2

LookupTimeAndValueMethod · 0.95
vtkTimeSourceExampleMethod · 0.95

Calls 2

PiFunction · 0.85
sinFunction · 0.50

Tested by

no test coverage detected