Options
All
  • Public
  • Public/Protected
  • All
Menu

All shape classes must implement this interface.

Hierarchy

  • Indexable

Implemented by

Index

Methods

Methods

qtIndex

  • This method is called on all objects that are inserted into or retrieved from the Quadtree. It must determine which quadrant an object belongs to.

    Parameters

    Returns number[]

    Array containing indexes of intersecting subnodes (0-3 = top-right, top-left, bottom-left, bottom-right)

Generated using TypeDoc