I have two 3 dimensional descritest curves describt by 3 double arrays per curve (each curve has one array of doubles for x, one array for y, and one array for z). I have to make different calculations with this curves. For example, find the nearest point of curve 2 to an given point, or calculate the normal vector on a specific point, and something else.
My idea is to use the eigen-library. Is ist a good idea? If so, what is the best way to store the arrays into Eigen::Vector3d?