private static double transform(double coord,double min,double res){
  return (coord - min) / res;
}

private static double transform ( double coord , double min , double res ) { return ( coord - min ) / res ; }
transforms a given coordinate into their default value in the system of base coordinates ( 0 , 1 , . . . ) .
