src/main/java/de/javagl/geom/AffineTransforms.java
/**
     * Computes the distance that two points have when they are transformed
     * with the given affine transform, and initially had the given distance
     * in y-direction
     * 
     * @param at The affine transform
     * @param distanceY The distance
     * @return The distance after the transform
     */
Computes the distance that two points have when they are transformed
with the given affine transform, and initially had the given distance
in y-direction

@param at The affine transform
@param distanceY The distance
@return The distance after the transform
Computes the distance that two points have when they are transformed with the given affine transform and initially had the given distance in y - direction @param at The affine transform @param distanceY The distance @return The distance after the transform
public static double computeDistanceY(AffineTransform at, double distanceY)
    {
        double dx = at.getShearX() * distanceY;
        double dy = at.getScaleY() * distanceY;
        double result = Math.sqrt(dx*dx+dy*dy);
        return result;
    }
public static double computeDistanceY ( AffineTransform at , double distanceY ) { double dx = at . getShearX ( ) * distanceY ; double dy = at . getScaleY ( ) * distanceY ; double result = Math . sqrt ( dx * dx + dy * dy ) ; return result ; }
Computes the distance that two points have when they are transformed
 with the given affine transform, and initially had the given distance
 in y-direction
Computes the distance that two points have when they are transformed with the given affine transform and initially had the given distance in y - direction