Previous Up Next

26.15.12  Checking whether two lines in the plane are perpendicular

See Section 27.11.4 for checking for perpendicularity in 3D geometry.

The is_perpendicular command determines whether or not two lines are perpendicular.

Examples

is_perpendicular(line(0,1+i),line(i,1))
     
1           
is_parallel(line(0,1+i),line(1+i,1))
     
0           

Previous Up Next