WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

Index

Properties

Methods

Properties

leaf

leaf: boolean

nodes

nodes: [Node<T>, Node<T>, Node<T>, Node<T>]

point

point: T

x

x: number

y

y: number

Methods

add

  • add(point: T): void

find

  • find(point: [number, number]): T

visit

  • visit(callback: function): void
  • Parameters

    • callback: function
        • (node: Node<T>, x1: number, y1: number, x2: number, y2: number): boolean | void
        • Parameters

          • node: Node<T>
          • x1: number
          • y1: number
          • x2: number
          • y2: number

          Returns boolean | void

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc