14.5.6 Perpendicular lines and planes in space: perpendicular
See Section 13.7.6 for perpendicular lines in the plane.
The perpendicular command can take its arguments in different
ways. It returns and draws a line or plane, depending on the arguments.
A point and a line.
- perpendicular takes two arguments:
- perpendicular(P,L) returns and draws the line
through P that is perpendicular to L.
Example
Input:
perpendicular(point(0,0,0),line(point(1,0,0),point(0,1,0)))
Output:
A line and a plane.
- perpendicular takes two arguments:
- perpendicular(L,P) returns and draws the plane
containing L that is perpendicular to P.
Example
Input:
perpendicular(line(point(0,0,0),point(1,1,0)),plane(point(1,0,0), |
point(0,1,0),point(0,0,1)))
|
Output: