Class SmoothOperatorConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] makeCoordinatesAbsolute​(java.lang.String[] relativeCoordinates, double[] initialPoint)
      Convert an array of relative coordinates to an array with the same size containing absolute coordinates.
      • Methods inherited from class java.lang.Object

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

      • SmoothOperatorConverter

        SmoothOperatorConverter()
    • Method Detail

      • makeCoordinatesAbsolute

        public java.lang.String[] makeCoordinatesAbsolute​(java.lang.String[] relativeCoordinates,
                                                          double[] initialPoint)
        Description copied from interface: IOperatorConverter
        Convert an array of relative coordinates to an array with the same size containing absolute coordinates.
        Specified by:
        makeCoordinatesAbsolute in interface IOperatorConverter
        Parameters:
        relativeCoordinates - the initial set of coordinates
        initialPoint - an array representing the point relative to which the relativeCoordinates are defined
        Returns:
        a String array of absolute coordinates, with the same length as the input array