public double getTemperature(byte type, Shape shape) {
		double[] result = getTotalKineticEnergy(type, shape);
		if (result[0] < 0.99)
			return 0;
		return result[1] * UNIT_EV_OVER_KB / result[0];
	}