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.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

An InfiniteLine in 2D:

In[1]:=
Click for copyable input
Out[1]=

And in 3D:

In[2]:=
Click for copyable input
Out[2]=

Different styles applied to an infinite line:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Test point membership in an infinite line:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)