Next: Triangles, Previous: Geometry [Contents][Index]

### 3.2 Intersections

Intersection functions provide the points belonging to both of two given geometric objects. Sets are considered as open paths. For line-line intersections the function is point valued, otherwise it is set valued.

#### Intersection functions

`intersection(l, l')`

  Intersection of line l and line l'. Parallel lines cause an error.

`intersection(l, s)`

  Intersection of line l and set s.

`intersection(l, c)`

  Intersection of line l and circle or conic c.

`intersection(s, s')`

  Intersection of set s and set s'.

`intersection(c, c')`

  Intersection of circle c and circle c'.

`intersection(c, s)`

  Intersection of circle c and set s.