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

Method XFunction

Filters/General/vtkTimeSourceExample.cxx:30–33  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

28
29//------------------------------------------------------------------------------
30double vtkTimeSourceExample::XFunction(double t)
31{
32 return sin(2 * vtkMath::Pi() * t) * this->XAmplitude;
33}
34
35//------------------------------------------------------------------------------
36double vtkTimeSourceExample::YFunction(double t)

Callers 1

RequestDataMethod · 0.95

Calls 2

PiFunction · 0.85
sinFunction · 0.50

Tested by

no test coverage detected