The vertical dimension measured from the average elevation of the finished lot grade at the front of the building to the highest point of the roof of the top story in the case of a flat roof; to the deckline of a mansard roof and to the average height between the plate and ridge of a gable, hip or gambrel roof.