Previous Up Next

27.10.9  Measure of an angle in space

See Section 26.13.4 for angle measures in 2D geometry.

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

  1. Three points.
  2. Two intersecting lines.
  3. A line and a plane.

Examples

angle(point(0,0,0),point(1,0,0),point(0,0,1))
     
1
2
 π
          
angle(line([0,0,0],[1,1,0]),line([0,0,0],[1,1,1]))
     
arccos


6
3



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


6
3



          

Previous Up Next