geometry :: BoxedArray :: defaultinit
# `BoxedCollection` implemented by an array
#
# Linear performances for searching, but really fast creation and filling.
class BoxedArray[E: Boxed[Numeric]]
super BoxedCollection[E]
super Array[E]
redef fun items_overlapping(item)
do
var arr = new Array[E]
for i in self do
if i.intersects(item) then arr.add(i)
end
return arr
end
end
lib/geometry/boxes.nit:325,1--340,3