QuadTree<T> class
- Inheritance
- Available extensions
Constructors
Properties
- bottom → num
-
The y-coordinate of the bottom edge.
no setterinherited
-
bottomLeft
→ Point<
num> -
no setterinherited
-
bottomRight
→ Point<
num> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → num
-
The height of the rectangle.
finalinherited
- left → num
-
The x-coordinate of the left edge.
finalinherited
- maxDepth → int
-
final
- maxItems → int
-
final
- right → num
-
The x-coordinate of the right edge.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → num
-
The y-coordinate of the top edge.
finalinherited
-
topLeft
→ Point<
num> -
no setterinherited
-
topRight
→ Point<
num> -
no setterinherited
- width → num
-
The width of the rectangle.
finalinherited
Methods
-
boundingBox(
Rectangle< num> other) → Rectangle<num> -
Returns a new rectangle which completely contains
this
andother
.inherited -
clear(
) → void -
containsPoint(
Point< num> another) → bool -
Tests whether
another
is inside or along the edges ofthis
.inherited -
containsRectangle(
Rectangle< num> another) → bool -
Tests whether
this
entirely containsanother
.inherited -
insert(
T item, Point< num> atPoint, {dynamic id}) → bool -
intersection(
Rectangle< num> other) → Rectangle<num> ? -
Computes the intersection of
this
andother
.inherited -
intersects(
Rectangle< num> other) → bool -
Returns true if
this
intersectsother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
Rectangle< num> range) → List<T> -
remove(
T item) → void -
removeById(
dynamic id) → void -
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited