mbostock/d3 — pull request #914 by jasondavies (2012-11-20 18:25:56+00:00)
Title: Improve Polygon clipping.

Specifically, endpoints are no longer checked for equality, since precision errors can cause this check to fail. In fact, we don't even care if the endpoints aren't equal; we just check for intersections instead.

This also includes a test for d3.geo.circle coordinates, which led to the above fix since the endpoints aren't exactly equal.