Determination of fractal dimensions for geometrical multifractals