gophergfx
    Preparing search index...

    Class BoundingCircle

    Index
    center: Vector2
    radius: number
    • Computes the bounds of the BoundingCircle from the given vertices

      Parameters

      • vertices: number[] | Vector2[]

        The array of Vector2 or number objects representing the vertices

      • boundingBox: BoundingBox2

        The BoundingBox2 object to use when computing the bounds

      Returns void

    • Returns whether this BoundingCircle intersects with the input BoundingCircle

      Parameters

      • circle: BoundingCircle

        The BoundingCircle object to check for intersection

      Returns boolean

      True if the two BoundingCircle objects intersect, false otherwise