### 27.11.2 Checking whether points and/or lines in space are coplanar

The is_coplanar command determines whether or not several points or several lines are coplanar.

- is_coplanar takes S, a sequence where each element is a point or a line.
- is_coplanar(S) returns 1 is the elements of S are coplanar and 0 otherwise.

#### Examples

is_coplanar([0,0,0],[1,2,-3],[1,1,-2],[2,1,-3])

1 |  |  |  |  |  |  |  |  |  |

is_coplanar([-1,2,0],[1,2,-3],[1,1,-2],[2,1,-3])

0 |  |  |  |  |  |  |  |  |  |

is_coplanar([0,0,0],[1,2,-3],line([1,1,-2],[2,1,-3]))

1 |  |  |  |  |  |  |  |  |  |

is_coplanar(line([-1,2,0],[1,2,-3]),line([1,1,-2],[2,1,-3]))

0 |  |  |  |  |  |  |  |  |  |