calc_face_vertex_velocity.hpp
Go to the documentation of this file.
1 
6 #ifndef CALC_FACE_VERTEX_VELOCITY_HPP
7 #define CALC_FACE_VERTEX_VELOCITY_HPP 1
8 
9 #include "geometry.hpp"
10 
19 Vector2D calc_face_vertex_velocity(const Vector2D& p1_pos, const Vector2D& p1_vel,
20  const Vector2D& p2_pos, const Vector2D& p2_vel,
21  const Vector2D& vertex);
22 
23 #endif // CALC_FACE_VERTEX_VELOCITY
Geometrical calculations.
Vector2D calc_face_vertex_velocity(const Vector2D &p1_pos, const Vector2D &p1_vel, const Vector2D &p2_pos, const Vector2D &p2_vel, const Vector2D &vertex)
Calculates the velocity of the vertices of a Voronoi face.
2D Mathematical vector
Definition: geometry.hpp:15