Previous Up Next

14.12.9  The measure of an angle in space: angle

See Section 13.14.4 for angle measures in two-dimensional geometry.

The angle command finds the measures of angles in space. It can take its arguments in different ways.


Three points.


Example.
Input:

angle(point(0,0,0),point(1,0,0),point(0,0,1))

Output:

1
2
 π 


Two intersecting lines.


Example.
Input:

angle(line([0,0,0],[1,1,0]),line([0,0,0],[1,1,1]))

Output:

arccos


6
3




A line and a plane.


Example.
Input:

angle(line([0,0,0],[1,1,0]),plane(x+y+z=0))

Output:

arccos


6
3




Previous Up Next