Bézier representation of epitrochoids and hypotrochoids

We developed a simple method to obtain the rational Bezier representation for segments of epitrochoids and hypotrochoids. This was achieved by adding two circular arcs expressed in Bernstein-like trigonometric basis functions, and considering the equivalence between this trigonometric form and the standard rational Bezier representation.