2D computer graphics endowed with a self-rendering method—a procedure which assigns colors to the image pixels by an arbitrary algorithm. Complex models can be built by combining simpler objects, in the paradigms of object-oriented programming. In Euclidean geometry, a translation moves every point a constant distance in a specified direction. A translation can be described as a rigid motion: other rigid motions include rotations and reflections. A translation can also be interpreted as the addition of a constant vector to every point, or as shifting the origin of the coordinate system. A translation operator is an operator formula_1 such that formula_2 If v
Distance from a point to a line length of this projection is given by: Now, thus Since "Q" is a point on the line, formula_27, and so, It is possible to produce another expression to find the shortest distance of a point to a line. This derivation also requires that the line is not vertical or horizontal. The point P is given with coordinates (formula_29). The equation of a line is given by formula_30. The equation of the normal of that line which passes through the point P is given formula_31. The point at which these two lines intersect is the closest point on the original line