0 Replies Latest reply: Jul 20, 2011 3:19 AM by 876696 RSS

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

    876696
      Hi,

      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.