neurolang.aabb_tree module

class neurolang.aabb_tree.AABB(lb, ub)

Bases: object

Attributes:
center
dim
lb
limits
ub
volume
width

Methods

contains

overlaps

union

property center
contains(other)
property dim
property lb
property limits
overlaps(other)
property ub
union(other)
property volume
property width
class neurolang.aabb_tree.Node(box, parent=None, left=None, right=None, height=0, regions=None)

Bases: object

Attributes:
children
is_leaf
left
right
property children
property is_leaf
property left
property right
class neurolang.aabb_tree.Tree

Bases: object

Methods

add

add_in_direction

add_left

add_right

expand_region_box

query_overlapping_regions

query_regions_axdir

query_regions_contained_in_box

add(box, regions=None)
add_in_direction(direction, box, regions=None)
add_left(box, regions=None)
add_right(box, regions=None)
expand_region_box(region_id, added_box)
query_overlapping_regions(region)
query_regions_axdir(region_id, axis, direction)
query_regions_contained_in_box(box)
neurolang.aabb_tree.aabb_from_vertices(vertices)