sonnysan,
That is correct, the MapNode::getTerrain API interacts with the geometric scene graph. The results are based on intersecting rays with the triangles in the scene.
To query the source data directly (which will be slower but more accurate) you can call Map::getElevationPool and use the ElevationPool API.
Hope this helps!
Glenn Waldron / Pelican Mapping