Require that a polygon p contains circle c with optional margin padding.

  • Parameters

    • pts: Vec2[]

      List of points for p

    • c: Vec2

      Center of c

    • r: Num

      Radius of c

    • padding: Num = 0

      Margin between the polygon and the circle (default: 0)

    Returns Num