fn add_inside(&mut self, hnd: u32, pts: &Pos) {
		let p = pts.pos(hnd).into();
		assert!(self.bbox.contains(p));
		let (mut i, mut bbox) = self.find_leaf_grow(p);
		while self.nodes[i].is_full() {
			let (j, bb) = self.grow_leaf(i, bbox, pts, p);
			i = j;
			bbox = bb;
		}
		self.nodes[i].add_leaf(hnd);
		self.n_points += 1;
	}
/// Add a point within the bounds
Add a point within the bounds
Add a point within the bounds
fn add_inside(&mut self, hnd: u32, pts: &Pos) {
		let p = pts.pos(hnd).into();
		assert!(self.bbox.contains(p));
		let (mut i, mut bbox) = self.find_leaf_grow(p);
		while self.nodes[i].is_full() {
			let (j, bb) = self.grow_leaf(i, bbox, pts, p);
			i = j;
			bbox = bb;
		}
		self.nodes[i].add_leaf(hnd);
		self.n_points += 1;
	}
fn add_inside ( & mut self , hnd : u32 , pts : & Pos ) { let p = pts . pos ( hnd ) . into ( ) ; assert ! ( self bbox contains ( p ) ) ; let ( mut i , mut bbox ) = self . find_leaf_grow ( p ) ; while self . nodes [ i ] . is_full ( ) { let ( j , bb ) = self . grow_leaf ( i , bbox , pts , p ) ; i = j ; bbox = bb ; } self . nodes [ i ] . add_leaf ( hnd ) ; self . n_points += 1 ; }
Add a point within the bounds
Add a point within the bounds
&mut self
hnd
u32
pts
&Pos