Require that a polygon p1 contains another polygon p2 with optional margin padding.

  • Parameters

    • pts1: Vec2[]

      List of points for p1

    • pts2: Vec2[]

      List of points for p2

    • padding: Num = 0

      Margin between the polygons (default: 0)

    Returns Num