= fr2y =
== Syntax == double fr2y(double d, double m) == Arguments == :d ::A double floating-point value for the 'direction' of a pixel. :m ::A double floating-point value for the 'magnitude' of a pixel. == Return == A double floating-point value giving the cartesian y coordinate for the pixel whose polar coordinates are [d,m]. == Description == Pixels are usually addressed by their cartesian coordinates [x,y], but FilterMeister also allows the use of polar coordinates, and provides a set of functions for conversion between the two systems. Polar coordinates are expressed as [d,m], where 'd' represents the 'direction' to the pixel from the image's center point, and 'm' is the 'magnitude' of the distance from the center. The fr2y() function takes a pair of polar coordinates as arguments, and returns the cartesian y coordinate of the corresponding pixel. == See Also == |