public Vector2f getLocation(Vector2f previousLocation) {
            float x = getX() / (float) atlasWidth;
            float y = getY() / (float) atlasHeight;
            float w = getWidth() / (float) atlasWidth;
            float h = getHeight() / (float) atlasHeight;
            Vector2f location = new Vector2f(x, y);
            float prevX = previousLocation.x;
            float prevY = previousLocation.y;
            location.addLocal(prevX * w, prevY * h);
            return location;
        }
Get the transformed texture coordinate for a given input location.
@param previousLocation The old texture coordinate.
@return The new texture coordinate inside the atlas.
jme3-core/src/tools/java/jme3tools/optimize/TextureAtlas.java