The concept VectorField_2 describes the set of requirements to be fulfilled by any class used to instantiate the first template parameter of the class Stream_lines_2<VectorField_2,Integrator_2>. This concept provides the types of the geometric primitives used in the placement of streamlines and some functions for answering different queries.
| |
The traits class.
| |
| |
The scalar type.
| |
| |
The point type.
| |
| |
The vector type.
|
| |
Any constructor has to allow the user to fill the vector values (i.e. assign a vector to each position within the domain).
|
|
| returns the bounding box of the whole domain. | ||
|
|
returns the vector field value and the local density.
| ||
|
| returns true if the point p is inside the domain boundaries, false otherwise. | ||
|
| |||
returns the integration step at the point p (i.e. the distance between p and the next point in the polyline.).
|