Constructors
constructor
-
Type parameters
Parameters
Properties
Private value
value
: { point
: Point; value
: T }[] = []
Methods
Private _queryRangeRec
- _queryRangeRec(box: Box, result: { point: Point; value: T }[]): void
-
Parameters
-
-
result: { point: Point; value: T }[]
Returns void
queryPoint
- queryPoint(point: Point): null | T
-
Parameters
Returns null | T
queryRange
- queryRange(box: Box): { point: Point; value: T }[]
-
Parameters
Returns { point: Point; value: T }[]
removePoint
- removePoint(point: Point): void