geom3d
line
define a line
Calling Sequence
Parameters
Description
Examples
line(l, [A, B] )
line(l, [A, v] )
line(l, [A, dseg] )
line(l, [A, p1] )
line(l, [p1, p2] )
line(l, [b1⁢t+a1, b2⁢t+a2, b3⁢t+a3 ], t)
l
-
the name of the line
A, B
points
v
vector
dseg
directed line segment
p1, p2
planes
a1, a2, a3, b1, b2, b3
algebraic expressions
t
(optional) a name denoting the parameter in the parametric equations of the line
A line l can be defined as follows:
+ from two given points A and B
+ from a given point A and a vector v of dimension 3 or a directed segment seg. The line defined is the line that passes through A and has v as its direction-ratios.
+ from a given point A and a plane p1. The line defined is the line that passes through A and perpendicular to the plane p1.
+ from two given planes p1 and p2. The line defined is the line of intersection of two planes p1 and p2 (if exists).
+ from the parametric equations of the line b1⁢t+a1,b2⁢t+a2,b3⁢t+a3. If the third optional argument t is not given, and if a name is assigned to the environment variable _EnvTName, then this name will be used as the name of the parameter in the parametric equations of the line. Otherwise, Maple will prompt the user to input the name of the parameter.
To access the information relating to a line l, use the following function calls:
form(l)
returns the form of the geometric object
(i.e., line3d if l is a line).
FixedPoint(l)
returns a fixed point on l.
ParallelVector(l)
returns a direction-ratios of l.
DirectionRatios(l)
returns the direction-ratios of l.
Equation(l)
returns the parametric equations
that represents the line l.
xname(l), yname(l), or zname(l)
returns the name of
the x-axis; y-axis, z-axis or FAIL if
the axis is not assigned to any name.
detail(l)
returns a detailed description of
the line l.
The command with(geom3d,line) allows the use of the abbreviated form of this command.
with⁡geom3d:
Find the equation of the line through [1,2,-1] perpendicular to the plane 3⁢x−5⁢y+4⁢z=5,the length of the perpendicular, and the coordinates of its foot
point⁡A,1,2,−1,plane⁡p,3⁢x−5⁢y+4⁢z=5,x,y,z:
The parametric equations of the line l with parameter t is
line⁡l,A,p
Equation⁡l,t
1+3⁢t,2−5⁢t,−1+4⁢t
The projection of A on the plane is
projection⁡B,A,p
B
coordinates⁡B
4925,25,725
The length of the perpendicular is
distance⁡A,B
8⁢25
Let the straight line pass through the point A=x1,y1,z1 and has direction-cosines (or ratios) l,m,n
assume⁡l≠0:
point⁡A,x1,y1,z1:v≔l,m,n:
Define the line l1 that passes through A and has l,m,n as its direction-ratios
line⁡l1,A,v:
detail⁡l1
name of the objectl1form of the objectline3dequation of the line_x=_t⁢l~+x1,_y=_t⁢m+y1,_z=_t⁢n+z1
l≔l:
Define the line l which is the intersection of two given planes p1, p2
plane⁡p1,4⁢x+4⁢y−5⁢z=12,x,y,z:
plane⁡p2,8⁢x+12⁢y−13⁢z=32,x,y,z:
line⁡l,p1,p2
1+8⁢t,2+12⁢t,16⁢t
See Also
geom3d/objects
geom3d/transformation
geom3d[altitude]
geom3d[intersection]
Download Help Document