|
Core 1.0
|
A core analytic two-dimensional vector field. More...
#include <vectorfield.h>
Public Member Functions | |
| virtual Vector2 | Value (const Vector2 &) const |
| Compute the value of the field. | |
| virtual double | Divergence (const Vector2 &) const |
| Compute the divergence of the field. | |
| virtual double | Curl (const Vector2 &) const |
| Compute the curl of the field. | |
Static Protected Attributes | |
| static const double | epsilon = 1e-6 |
| Epsilon value for partial derivatives. | |
A core analytic two-dimensional vector field.
|
virtual |
Compute the curl of the field.
| p | Point. |
|
virtual |
Compute the divergence of the field.
| p | Point. |