gdstk.all_inside
- gdstk.all_inside(points, polygons) bool
Check whether all points are inside the set of polygons.
Points on polygon edges or coinciding with any of their vertices are considered inside.
- Parameters:
points – Points to check. Each point can be a pair of coordinates or a complex number.
polygons (Polygon, FlexPath, RobustPath, Reference, sequence) – Polygons to test against. If this is a sequence, each element can be any of the polygonal types or a sequence of points (coordinate pairs or complex).
- Returns:
True if all points are inside the polygon set, False otherwise.