How are decks on slopes measured?

Heights and setbacks of decks on slopes higher than 10 percent are calculated based on the average height of numerous points. The top elevation of railings and privacy screens cannot exceed the building height limit.