0 Replies Latest reply on Jul 20, 2011 8:19 AM by 876696

    Converting CubicCurve2d and/or QuadCurve2d into set of Line2d's and Arc2d's


      i have to recreate a shape using lines/circles/arcs ...
      First I used FlatteningPathIterator, but when i feed the geometry data to a native lib (which accepts only lines/circles/arcs as geometry data), it stops working because of too many segments ...
      Therefore i need to convert QuadCurve2D and CubicCurve2D spilnes into set of Line2D and Arc2D objects.

      Any hints would be much appreciated.