mathDirection Ratios: Definition Formula and Examples
Direction ratios of a line are any three numbers (a, b, c), not all zero, in the same proportion as its direction cosines. Read them off a vector's components or subtract two points; divide by √(a² + b² + c²) to get the cosines.
Direction Ratios