Previous Up Next

24.15.11  Checking whether two lines in the plane are parallel

See Section 25.11.3 for checking for parallels in three-dimensional 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