Translation between heightmap and world height

hey folks,

I want to determine the world height at a given point using the heightmap. Is there a common way to translate the world coordinates to heightmap coordinates and the other way round?

Thank you very much.

If you are using TerrainQuad or TerrainGrid you can just call terrain.getHeight(x,z);