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 .
- Hyperplane[n,p] is an alternative representation using a normal n in 2D.
- 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 allclose allBasic Examples (3)
An InfiniteLine in 2D:
Scope (19)
Graphics (8)
Specification (3)
Define an InfiniteLine containing and going in the direction :
Define the same line passing through and :
Define a 3D infinite line containing and going in the direction :
Styling (4)
Coordinates (1)
Points and vectors can be Dynamic:
Regions (11)
Embedding dimension is the dimensionality of the vertices:
Geometric dimension is the dimension of the region:
Get conditions for membership:
An infinite line is unbounded:
InfiniteLine has infinite measure:
Plotting distance to the region:
Distance to the nearest point:
Integrate over an infinite line:
Applications (17)
Create parallel lines aligned to :
Convert the intercept form of a line to an InfiniteLine:
Convert the point slope form of a line to an InfiniteLine:
Convert the slope intercept form of a line to an InfiniteLine:
Convert the two-point form of a line to an InfiniteLine:
Convert the parametric form of a line to an InfiniteLine:
The tangent line to a parametric curve f[u] is given by InfiniteLine[f[u],f'[u]]. Find the tangent line to the parametric curve :
Find the tangent line for the parametric curve :
Find the intersection of InfiniteLine[{0,0},{1,1}] and InfiniteLine[{{0,1},{1,0}}]:
Find the intersections of InfiniteLine[{0,0},{1,1}] and Circle[{0,0},1]:
Find all pairwise intersections between five random lines:
Use BooleanCountingFunction to express that exactly two conditions are true:
Find the intersection of InfiniteLine[{{-1,1,1},{1,1,1}}] and InfinitePlane[{{2,0,0},{0,2,0},{0,0,2}}]:
Find the intersections of InfiniteLine[{{-1,1,1},{1,1,1}}] and Sphere[{0,0,0},3]:
Find the intersections of InfiniteLine[{{-1,1/3,1/2},{1,1/3,1/2}}] and the boundary of Tetrahedron[{{0,0,0},{1,0,0},{0,1,0},{0,0,1}}]:
Visualize the axis of rotation for RotationTransform:
Properties & Relations (5)
InfiniteLine[{p1,p2}] is equivalent to InfiniteLine[p1,p2-p1]:
InfiniteLine[p,v] is equivalent to Hyperplane[Cross[v],p] in 2D:
ParametricRegion can represent any InfiniteLine:
ImplicitRegion can represent any InfiniteLine:
InfiniteLine is a special case of ConicHullRegion:
Text
Wolfram Research (2014), InfiniteLine, Wolfram Language function, https://reference.wolfram.com/language/ref/InfiniteLine.html.
CMS
Wolfram Language. 2014. "InfiniteLine." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InfiniteLine.html.
APA
Wolfram Language. (2014). InfiniteLine. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InfiniteLine.html