Previous Up Next

24.15.2  Checking whether three points are collinear in the plane

See Section 25.11.6 for checking for collinearity in three-dimensional geometry.

The is_collinear command determines whether or not three points are collinear.

Examples

is_collinear(0,1+i,-1-i)
     
1           
is_collinear(i/100,1+i,-1-i)
     
0           

Previous Up Next