When.com Web Search

  1. Ads

    related to: 2d line segment calculator with points

Search results

  1. Results From The WOW.Com Content Network
  2. Distance from a point to a line - Wikipedia

    en.wikipedia.org/.../Distance_from_a_point_to_a_line

    The distance (or perpendicular distance) from a point to a line is the shortest distance from a fixed point to any point on a fixed infinite line in Euclidean geometry. It is the length of the line segment which joins the point to the line and is perpendicular to the line. The formula for calculating it can be derived and expressed in several ways.

  3. Line–line intersection - Wikipedia

    en.wikipedia.org/wiki/Lineline_intersection

    The intersection point falls within the first line segment if 0 ≤ t ≤ 1, and it falls within the second line segment if 0 ≤ u ≤ 1. These inequalities can be tested without the need for division, allowing rapid determination of the existence of any line segment intersection before calculating its exact point. [3]

  4. Line drawing algorithm - Wikipedia

    en.wikipedia.org/wiki/Line_drawing_algorithm

    The simplest method of drawing a line involves directly calculating pixel positions from a line equation. Given a starting point (,) and an end point (,), points on the line fulfill the equation = +, with = = being the slope of the line. The line can then be drawn by evaluating this equation via a simple loop, as shown in the following pseudocode:

  5. Intersection (geometry) - Wikipedia

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

    For two non-parallel line segments (,), (,) and (,), (,) there is not necessarily an intersection point (see diagram), because the intersection point (,) of the corresponding lines need not to be contained in the line segments. In order to check the situation one uses parametric representations of the lines:

  6. Line (geometry) - Wikipedia

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

    Drawing of a line segment "AB" on the line "a" A line segment is a part of a line that is bounded by two distinct end points and contains every point on the line between its end points. Depending on how the line segment is defined, either of the two end points may or may not be part of the line segment.

  7. Euclidean distance - Wikipedia

    en.wikipedia.org/wiki/Euclidean_distance

    The distance between any two points on the real line is the absolute value of the numerical difference of their coordinates, their absolute difference. Thus if p {\displaystyle p} and q {\displaystyle q} are two points on the real line, then the distance between them is given by: [ 1 ]

  8. Bentley–Ottmann algorithm - Wikipedia

    en.wikipedia.org/wiki/Bentley–Ottmann_algorithm

    No two line segment endpoints or crossings have the same x-coordinate; No line segment endpoint lies upon another line segment; No three line segments intersect at a single point. In such a case, L will always intersect the input line segments in a set of points whose vertical ordering changes only at a finite set of discrete events ...

  9. Bresenham's line algorithm - Wikipedia

    en.wikipedia.org/wiki/Bresenham's_line_algorithm

    The value of the line function at this midpoint is the sole determinant of which point should be chosen. The adjacent image shows the blue point (2,2) chosen to be on the line with two candidate points in green (3,2) and (3,3). The black point (3, 2.5) is the midpoint between the two candidate points.