QuadTree

sealed trait QuadTree[T]
Companion:
object
class Object
trait Matchable
class Any
class QuadBranch[T]
class QuadEmpty[T]
class QuadLeaf[T]

Value members

Abstract methods

Concrete methods

def !==(other: QuadTree[T])(using CanEqual[T, T]): Boolean
def ===(other: QuadTree[T])(using CanEqual[T, T]): Boolean
def fetchElementAt(vertex: Vertex)(using CanEqual[T, T]): Option[T]
def findClosestTo(vertex: Vertex)(using CanEqual[T, T]): Option[T]
def findClosestToWithPosition(vertex: Vertex)(using CanEqual[T, T]): Option[(Vertex, T)]
def insertElement(element: T, vertex: Vertex): QuadTree[T]
def insertElements(elements: (T, Vertex)*): QuadTree[T]
def insertElements(elements: Batch[(T, Vertex)]): QuadTree[T]
def prune: QuadTree[T]
def removeElement(vertex: Vertex): QuadTree[T]
def searchByBoundingBox(boundingBox: BoundingBox)(using CanEqual[T, T]): Batch[T]
def searchByBoundingBoxWithPosition(boundingBox: BoundingBox)(using CanEqual[T, T]): Batch[(Vertex, T)]
def searchByLine(start: Vertex, end: Vertex)(using CanEqual[T, T]): Batch[T]
def searchByLine(line: LineSegment)(using CanEqual[T, T]): Batch[T]
def searchByLineWithPosition(start: Vertex, end: Vertex)(using CanEqual[T, T]): Batch[(Vertex, T)]
def searchByLineWithPosition(line: LineSegment)(using CanEqual[T, T]): Batch[(Vertex, T)]
def toBatch(using CanEqual[T, T]): Batch[T]
def toBatch(p: T => Boolean)(using CanEqual[T, T]): Batch[T]
def toBatchWithPosition(using CanEqual[T, T]): Batch[(Vertex, T)]
def toBatchWithPosition(p: T => Boolean)(using CanEqual[T, T]): Batch[(Vertex, T)]

Deprecated methods

def searchByPoint(point: Vertex)(using CanEqual[T, T]): Option[T]
Deprecated
def searchByRectangle(boundingBox: BoundingBox)(using CanEqual[T, T]): Batch[T]
Deprecated

Abstract fields