When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Line drawing algorithm - Wikipedia

    en.wikipedia.org/wiki/Line_drawing_algorithm

    The line can then be drawn by evaluating this equation via a simple loop, as shown in the following pseudocode: dx = x2x1 dy = y2y1 m = dy/dx for x from x1 to x2 do y = m × (x − x1) + y1 plot(x, y) Here, the points have already been ordered so that >.

  3. Slope - Wikipedia

    en.wikipedia.org/wiki/Slope

    Slope illustrated for y = (3/2)x − 1.Click on to enlarge Slope of a line in coordinates system, from f(x) = −12x + 2 to f(x) = 12x + 2. The slope of a line in the plane containing the x and y axes is generally represented by the letter m, [5] and is defined as the change in the y coordinate divided by the corresponding change in the x coordinate, between two distinct points on the line.

  4. Distance from a point to a line - Wikipedia

    en.wikipedia.org/.../Distance_from_a_point_to_a_line

    This proof is valid only if the line is neither vertical nor horizontal, that is, we assume that neither a nor b in the equation of the line is zero. The line with equation ax + by + c = 0 has slope -a/b, so any line perpendicular to it will have slope b/a (the negative reciprocal). Let (m, n) be the point of intersection of the line ax + by ...

  5. Bresenham's line algorithm - Wikipedia

    en.wikipedia.org/wiki/Bresenham's_line_algorithm

    y=f(x)=.5x+1 or f(x,y)=x-2y+2=0 Positive and negative half-planes. The slope-intercept form of a line is written as = = + where is the slope and is the y-intercept. Because this is a function of only , it can't represent a vertical line.

  6. Line coordinates - Wikipedia

    en.wikipedia.org/wiki/Line_coordinates

    A simple way is by the pair (m, b) where the equation of the line is y = mx + b. Here m is the slope and b is the y-intercept. This system specifies coordinates for all lines that are not vertical. However, it is more common and simpler algebraically to use coordinates (l, m) where the equation of the line is lx + my + 1 = 0. This system ...

  7. Linear function (calculus) - Wikipedia

    en.wikipedia.org/wiki/Linear_function_(calculus)

    The coefficient a is called the slope of the function and of the line (see below). If the slope is a = 0 {\displaystyle a=0} , this is a constant function f ( x ) = b {\displaystyle f(x)=b} defining a horizontal line, which some authors exclude from the class of linear functions. [ 3 ]

  8. Log–log plot - Wikipedia

    en.wikipedia.org/wiki/Log–log_plot

    Specifically, a straight line on a log–log plot containing points (x 0, F 0) and (x 1, F 1) will have the function: = ⁡ (/) ⁡ (/), Of course, the inverse is true too: any function of the form = will have a straight line as its log–log graph representation, where the slope of the line is m.

  9. Line (geometry) - Wikipedia

    en.wikipedia.org/wiki/Line_(geometry)

    In geometry, a straight line, usually abbreviated line, is an infinitely long object with no width, depth, or curvature, an idealization of such physical objects as a straightedge, a taut string, or a ray of light. Lines are spaces of dimension one, which may be embedded in spaces of dimension two, three, or