### 26.15.13 Checking whether two circles in the plane are orthogonal

See Section 27.11.5 for checking for orthogonality in 3D geometry.

The is_orthogonal command determines whether or not two lines or circles are orthogonal.

- is_orthogonal takes two arguments: C1,C2, two objects, both lines or both circles.
- is_orthogonal(C1,C2) returns 1 if C1 and C2 are orthogonal and returns 0 otherwise.

#### Examples

is_orthogonal(line(0,1+i),line(i,1))

1 |  |  |  |  |  |  |  |  |  |

is_orthogonal(line(2,i),line(0,1+i))

0 |  |  |  |  |  |  |  |  |  |

is_orthogonal(circle(0,1+i),circle(2,1+i))

1 |  |  |  |  |  |  |  |  |  |

is_orthogonal(circle(0,1),circle(2,1))

0 |  |  |  |  |  |  |  |  |  |