PYME.Analysis.points.QuadTree.pointQT module

PYME.Analysis.points.QuadTree.pointQT.createQT(x, y, t=None)

creates a quad tree from a list of x,y positions

PYME.Analysis.points.QuadTree.pointQT.getInRadius(qt, x, y, radius)
class PYME.Analysis.points.QuadTree.pointQT.qtBranchNode(x0, x1, y0, y1, depth=0)

Bases: PYME.Analysis.points.QuadTree.pointQT.qtNode

Methods

drawTree([depth])
get(x0, x1, y0, y1)
getAll()
getLeaves([maxDepth])
insert(rec)
drawTree(depth=0)
get(x0, x1, y0, y1)
getLeaves(maxDepth=-1)
insert(rec)
class PYME.Analysis.points.QuadTree.pointQT.qtLeafNode(x0, x1, y0, y1, depth=0)

Bases: PYME.Analysis.points.QuadTree.pointQT.qtNode

Methods

drawTree([depth])
get(x0, x1, y0, y1)
getAll()
getLeaves([maxDepth])
insert(rec)
drawTree(depth=0)
get(x0, x1, y0, y1)
getLeaves(maxDepth=-1)
insert(rec)
class PYME.Analysis.points.QuadTree.pointQT.qtNode(x0, x1, y0, y1, depth=0)

Methods

getAll()
insert(obj, x, y)
getAll()
insert(obj, x, y)
class PYME.Analysis.points.QuadTree.pointQT.qtRec(x, y, obj)
class PYME.Analysis.points.QuadTree.pointQT.qtRoot(x0, x1, y0, y1)

Bases: PYME.Analysis.points.QuadTree.pointQT.qtNode

Methods

getAll()
insert(rec)
insert(rec)