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 line the perpendicular "R". Draw the vertical line through "P" and label its intersection with the given line "S". At any point "T" on the line, draw a right triangle "TVU" whose sides are horizontal and vertical line segments with hypotenuse "TU" on the given line and horizontal side of length |"B"| (see diagram). The vertical side of ∆"TVU" will have length |"A"| since the line has slope -"A"/"B". ∆"PRS" and ∆"TVU" are similar triangles, since they are both right triangles and ∠"PSR" ≅ ∠"TUV" since they are corresponding angles of a transversal to the parallel lines "PS" and "UV" (both