CGAL 4.13.1 - 2D Placement of Streamlines
|
#include <CGAL/Triangular_field_2.h>
This class provides a vector field specified by a set of sample points defined on a triangulated domain.
All sample points are inserted to a Delaunay triangulation, and for each point p
in the domain located in a face f
, its vector value is interpolated from the vertices of the face f
.
StreamLinesTraits_2 | has to be instantiated by a model of the concept StreamLinesTraits_2 . |
Regular_grid_2<StreamLinesTraits_2>
Types | |
typedef StreamLinesTraits_2::FT | FT |
the scalar type. | |
typedef StreamLinesTraits_2::Point_2 | Point_2 |
the point type. | |
typedef StreamLinesTraits_2::Vector_2 | Vector_2 |
the vector type. | |
Creation | |
mplate< class PointIterator1, class VectorInputIterator > | Triangular_field_2 (PointInputIterator first_point, PointInputIterator last_point, VectorInputIterator first_vector) |
Defines the points in the range [first_point, last_point) as the sample points of the triangular field, with the corresponding number of vectors started at first_vector . More... | |
mplate<class PointIterator1, class VectorInputIterator> CGAL::Triangular_field_2< StreamLinesTraits_2 >::Triangular_field_2 | ( | PointInputIterator | first_point, |
PointInputIterator | last_point, | ||
VectorInputIterator | first_vector | ||
) |
Defines the points in the range [first_point, last_point)
as the sample points of the triangular field, with the corresponding number of vectors started at first_vector
.