Calculate the area of a slice of a polygon as numeric

chopped_area(xmax, coords, ply)

Arguments

xmax

A float or integer value for the x (longitude) coordinate maximum

coords

A list containing xmin, ymin, and ymax

ply

An sf polygon object

Value

numeric area of a polygon slice

Author

Chris R. Vernon (chris.vernon@pnnl.gov)