Class RMPathFitCurves


  • public class RMPathFitCurves
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RMPathFitCurves()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fitCurveFromPointIndex​(RMPath path, int index)
      Takes a path with a bunch of line-to segments and replaces them with curves.
      static void getFitCurveSegments​(RMPoint[] d, RMSize start_tan, RMSize end_tan, java.util.List segs)
      Fit a curve, preserving the start & end tangents.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMPathFitCurves

        public RMPathFitCurves()
    • Method Detail

      • fitCurveFromPointIndex

        public static void fitCurveFromPointIndex​(RMPath path,
                                                  int index)
        Takes a path with a bunch of line-to segments and replaces them with curves.
      • getFitCurveSegments

        public static void getFitCurveSegments​(RMPoint[] d,
                                               RMSize start_tan,
                                               RMSize end_tan,
                                               java.util.List segs)
        Fit a curve, preserving the start & end tangents.