Line-intercept method for cover

This is for a school project