The concept Integrator_2 describes the set of requirements to be fulfilled by any function object used to instantiate the second template parameter of the class Stream_lines_2<VectorField_2,Integrator_2>. This concept provides the operation that integrates a new point from a given point with a predefined step, and according to a specified vector.
| |
The scalar type.
| |
| |
The point type.
| |
| |
The vector type.
| |
| |
The vector field type.
|
| |
only a default constructor is needed.
|
|
| |||
returns the new position from the actual position defined by p, according to the vector given by vector_field_2 at p.
| ||||
|
| |||
As above. The integration step is defined by integration_step.
| ||||
|
| |||
As above. In addition, this function integrates forward if direction is true, and backward if it is false.
|