title: How to check whether a svg circle inside the svg path
body: <p>There are many ways to check is point inside path, but i haven't found any algorhitm which can check if the circle(whole object, not center point) is inside svg path.
  If you're wondering why I need this algorithm - i want to fill space with circles with different radii (<a href="http://bl.ocks.org/mbostock/1893974" rel="nofollow">http://bl.ocks.org/mbostock/1893974</a>), and those circles that enters the shape i want to paint in another color. As a result, we get the test image for color-blind people, like Ishihara's pictures.</p>
  
  <p><a href="http://i.stack.imgur.com/N1cM8.jpg" rel="nofollow">The expected result like on that picture.</a></p>