I'm attempting to draw an ellipse based on two points. For each of these points I have a vector showing the direction the curve of the ellipse should be at this point (I suppose another way of looking at it is that I have 2 tangent lines to the to the ellipse with the intersection point for each).
I know normally 2 points would not be enough to determine the ellipse, but I thought the vectors might make it possible. Ideally I'm trying to calculate the center point and the major and minor axis (I guess either the actual points or the vector from the center).
I'm not quite sure how to proceed with this, or whether it's actually possible, but any help would be greatly appreciated, thanks.
Edit: Added a simple example of what I'm talking about. For the record, the calculation will be in 3D space.
Okay, so the I have the two tangent lines illustrated here, in the form of a point and a (normalized) vector, the point being the intersection point with the ellipse (it's part of the line and the ellipse). By vectors from the center point for the axes I just meant it as an alternative way of finding the minor and major axis points, stupid thing to put in).
Edit 2: Let's assume they're not parallel.
An ellipse is a conic, and a conic is uniquely defined by five points, no four of which lie on a common line. An ellipse is not a very special conic, so while some sets of five points may yield hyperbolas instead, you still have five real degrees of freedom, associated with these points.
Now you can consider the situation where two of the defining points of intersection are the touching points of your tangents, while another pair of two moves along these tangents towards the touching points. In the limit, when the moving points arrive at the touching points, this will result in the tangents you require.
But this still only covers four points, so there is still a one-parameter family of conics satisfying your requirements, corresponding to the one real degrees of freedom represented by the choice of a fifth point in the plane, modulo the movement of said point in a direction tangential to the conic it defines.