Vanishing point as the "direction point", as lines having the same directional vector, say "D", will have the same vanishing point. Mathematically, let be a point lying on the image plane, where is the focal length (of the camera associated with the image), and let be the unit vector associated with , where . If we consider a straight line in space with the unit vector and its vanishing point , the unit vector associated with is equal to , assuming both are assumed to point towards the image plane. When the image plane is parallel to two world-coordinate axes, lines parallel
Distance from a point to a plane Distance from a point to a plane In Euclidean space, the point on a plane formula_1 that is closest to the origin has the Cartesian coordinates formula_2, where The distance between the origin and point formula_2 is formula_5. If what is desired is the distance from a point not at the origin to the nearest point on a plane, this can be found by a change of variables that moves the origin to coincide with the given point. Suppose we wish to find the nearest point on a plane to the point (formula_6), where the plane is given by formula_7.