Added static method getDensityAtWorld which has no dependencies on volume or class instances