fusioncharts/redraphael — pull request #23 by ritesh-pandey (2014-09-10 12:17:53+00:00)
Title: Feature/triangle component

Added more features to trianglepath component.
It can have a rounded vertex with each vertex having a different radius. An upper limit has been imposed on the radius though which is the inradius of the triangle.

For calculating the inradius, the formula
r (inradius) = Area of triangle/semiperimeter of triangle
has been used.

The area has been calculating using Heron's formula. The method for calculating the semiperimeter has been added as well.