Constructors

  • Parameters

    Returns QuadTree

Properties

capacity: number
rectangle: Rectangle

Methods

  • Parameters

    Returns boolean

  • Parameters

    • range: BaseRange
    • Optionalcheck: ((particle: Particle) => boolean)
        • (particle): boolean
        • Parameters

          Returns boolean

    Returns Particle[]

  • Parameters

    • position: ICoordinates
    • radius: number
    • Optionalcheck: ((particle: Particle) => boolean)
        • (particle): boolean
        • Parameters

          Returns boolean

    Returns Particle[]

  • Parameters

    Returns Particle[]