This protocol (aka interface) defines a method for integrating flow data. More...
#import <IntegrationMethod.h>
Public Member Functions | |
(bool) | - integrateForX:Y:Stepsize:Direction:StoringIn:Direction: |
Performs a single integration step from initial x/y coords, whereas a stepsize and a direction (forward/backward) can be defined. |
This protocol (aka interface) defines a method for integrating flow data.
- (bool) integrateForX: | (float) | x | ||
Y: | (float) | y | ||
Stepsize: | (float) | stepSize | ||
Direction: | (int) | direction | ||
StoringIn: | (float *) | integratedPoint | ||
Direction: | (float *) | integratedVector | ||
Performs a single integration step from initial x/y coords, whereas a stepsize and a direction (forward/backward) can be defined.
The result is the calculated point and a vector in zhis direction.
Reimplemented in Euler, and RungeKutta2.