QuadLeaf

final case class QuadLeaf[T](bounds: BoundingBox, exactPosition: Vertex, value: T) extends QuadTree[T]
trait Serializable
trait Product
trait Equals
trait QuadTree[T]
class Object
trait Matchable
class Any

Value members

Concrete methods

def isEmpty: Boolean

Inherited methods

def !==(other: QuadTree[T])(using CanEqual[T, T]): Boolean
Inherited from:
QuadTree
def ===(other: QuadTree[T])(using CanEqual[T, T]): Boolean
Inherited from:
QuadTree
def fetchElementAt(vertex: Vertex)(using CanEqual[T, T]): Option[T]
Inherited from:
QuadTree
def findClosestTo(vertex: Vertex)(using CanEqual[T, T]): Option[T]
Inherited from:
QuadTree
def findClosestToWithPosition(vertex: Vertex)(using CanEqual[T, T]): Option[(Vertex, T)]
Inherited from:
QuadTree
def insertElement(element: T, vertex: Vertex): QuadTree[T]
Inherited from:
QuadTree
def insertElements(elements: List[(T, Vertex)]): QuadTree[T]
Inherited from:
QuadTree
def insertElements(elements: (T, Vertex)*): QuadTree[T]
Inherited from:
QuadTree
def prettyPrint: String
Inherited from:
QuadTree
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def prune: QuadTree[T]
Inherited from:
QuadTree
def removeElement(vertex: Vertex): QuadTree[T]
Inherited from:
QuadTree
def searchByBoundingBox(boundingBox: BoundingBox)(using CanEqual[T, T]): List[T]
Inherited from:
QuadTree
def searchByBoundingBoxWithPosition(boundingBox: BoundingBox)(using CanEqual[T, T]): List[(Vertex, T)]
Inherited from:
QuadTree
def searchByLine(line: LineSegment)(using CanEqual[T, T]): List[T]
Inherited from:
QuadTree
def searchByLine(start: Vertex, end: Vertex)(using CanEqual[T, T]): List[T]
Inherited from:
QuadTree
def searchByLineWithPosition(line: LineSegment)(using CanEqual[T, T]): List[(Vertex, T)]
Inherited from:
QuadTree
def searchByLineWithPosition(start: Vertex, end: Vertex)(using CanEqual[T, T]): List[(Vertex, T)]
Inherited from:
QuadTree
def toList(using CanEqual[T, T]): List[T]
Inherited from:
QuadTree
def toListWithPosition(using CanEqual[T, T]): List[(Vertex, T)]
Inherited from:
QuadTree

Deprecated and Inherited methods

@deprecated("use `toList` or `toListWithPosition` instead.")
def asElementList(using CanEqual[T, T]): List[T]
Deprecated
Inherited from:
QuadTree
@deprecated("use `findClosestTo` or `findClosestToWithPosition` instead")
def searchByPoint(point: Vertex)(using CanEqual[T, T]): Option[T]
Deprecated
Inherited from:
QuadTree
@deprecated("use `searchByBoundingBox` or `searchByBoundingBoxWithPosition` instead")
def searchByRectangle(boundingBox: BoundingBox)(using CanEqual[T, T]): List[T]
Deprecated
Inherited from:
QuadTree