Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function circleCircleIntersects

    • Test whether two circles (with position and radius) intersect.

      Parameters

      • x0: number

        x center coordinate of circle A.

      • y0: number

        y center coordinate of circle A.

      • r0: number

        radius of circle A.

      • x1: number

        x center coordinate of circle B.

      • y1: number

        y center coordinate of circle B.

      • r1: number

        radius of circle B.

      Returns boolean

      True if the two circles intersect, false otherwise.