The
importance of general equation in computer field commonly used linear equation has the general type Point oblique intercept type oblique intercept type two point type and so on. In addition to the general equation, they either cannot support straight lines in all cases (such as perpendicular or parallel to the axis), or they cannot support points in all cases (such as equal x coordinates or equal y coordinates). Therefore, the general equation is particularly useful for processing two-dimensional graphic data with a computer. The
general equation for a straight line on a known straight line is two points P1 (x1,y1) P2 (x2,y2) on the known line, and P1 P2 two points do not coincide. In the general equation of the line ax+by+c=0, a B C equals: a = Y2-Y1B = X1-X2C = X2*y1-x1*y2
A general equation of two points on a known line for a straight line