Previous Up Next

26.15.11  Checking whether two lines in the plane are parallel

See Section 27.11.3 for checking for parallels in 3D geometry.

The is_parallel command determines whether or not two lines are parallel.

Examples

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

Previous Up Next