Function getBoundingBox

  • Calculates the bounding box of a polygon based on a set of vertices

    Parameters

    • vertices: Vertex[]

      List of vertices that make up the polygon

    Returns number[]

    An array representing the bounding box of the polygon

Generated using TypeDoc