I have multiple cubic curve that form shape I want to convert this shape to a polygon without loosing the curvatures of the curves they. I have a start point ,end point and two controls for each curve. Is there any algorithm or a way to convert this set of curves into polygon of multiple points? Thanks in advance
private List<CubicCurve> curves = new ArrayList<>();
each red point represent the end of one curve and the start of the next the two green dots between two red dots represent the the control points of the curve