- class csep.core.regions.Polygon(points)
Represents polygons defined through a collection of vertices.
This polygon is assumed to be 2d, but could contain an arbitrary number of vertices. The path is treated as not being closed.
return the centroid of the polygon.
Returns a bool array which is True if the path contains the corresponding point.
from_great_circle_radius(centroid, radius[, ...])
Generates a polygon object from a given radius and centroid location.