lines: command line
, Icon
Allows us to create a line. The different arguments it can take are:
- two points on the line (we can use the icon
),
- a point and a direction vector,
- an equation for the line, or
- a point and a real number (the slope of the line).
If
r is a line, then sloper, pointr, vectorr return the slope of the line, a point on the line and a direction vector of the line, respectively. To study other functions that can also be used to build a line, see parallel, perpendicular, bisector.
slope(r),
point(r) and
vector(r)parallel,
perpendicular and
bisector
In the case of lines in 3D space, the following arguments are accepted:
- two points on the line (we can use the icon
)
- a point and a direction vector,
- two equations (of secant planes).