Get the exposed area of the relevant side. If you were to call getExposedAreaNorth on a 2x4 brick was planted with its long side facing north, it would return 4. But if you called it on the same brick with a 2x2 planted immediately to the north of it, it would return 2, as the 2x2 is obscuring 2 of the 4 areas.