InfiniteLine

InfiniteLine[{p1,p2}]

represents the infinite straight line passing through the points p1 and p2.

InfiniteLine[p,v]

represents the infinite straight line passing through the point p in the direction v.

Details • InfiniteLine is also known as line.
• InfiniteLine can be used as a geometric region and graphics primitive.
• • InfiniteLine represents linear curve or .
• InfiniteLine can be used in Graphics and Graphics3D.
• InfiniteLine will be clipped by PlotRange when rendering.
• In graphics, the points p, pi and vector v can be Dynamic expressions.
• Graphics rendering is affected by directives such as Thickness, Dashing, and color.
• InfiniteLine can be used with symbolic points in GeometricScene.

Examples

open all close all

Basic Examples(3)

An InfiniteLine in 2D:

 In:= Out= And in 3D:

 In:= Out= Different styles applied to an infinite line:

 In:= In:= Out= Test point membership in an infinite line:

 In:= In:= Out= Neat Examples(2)

Introduced in 2014
(10.0)