src/libs/src/gauss_dist.c
double smallgear_angle(double r2, int y1, int y2, double pfl_2)
{
    double yres = (double)(abs(y2 - y1));
    double gaussdist = pfl_2 *25.0 /yres;
    double sinu = sin(gaussdist/r2);

    double val = 180.0 / PI;
    return asin(sinu) * val;
}
//pfl_2 = pixel face length for point 2#
pfl_2 = pixel face length for point 2
pfl_2 = pixel face length for point 2
double smallgear_angle(double r2, int y1, int y2, double pfl_2)
{
    double yres = (double)(abs(y2 - y1));
    double gaussdist = pfl_2 *25.0 /yres;
    double sinu = sin(gaussdist/r2);
    double val = 180.0 / PI;
    return asin(sinu) * val;
}
double smallgear_angle ( double r2 , int y1 , int y2 , double pfl_2 ) { double yres = ( double ) ( abs ( y2 - y1 ) ) ; double gaussdist = pfl_2 * 25.0 / yres ; double sinu = sin ( gaussdist / r2 ) ; double val = 180.0 / PI ; return asin ( sinu ) * val ; }
pfl_2 = pixel face length for point 2
pfl_2 = pixel face length for point 2