pub fn remove(&mut self, hnd: u32) -> T {
		assert!(self.n_points > 0);
//		assert!(self.root > 0);

//		let i = self.root - 1;
		let bcube = self.bcube;
		let p = self[hnd].bbox();
//		self.remove_point(i, bcube, hnd, p);
		self.point_garbage.push(hnd);

		unsafe {
			let mut ret = ::std::mem::uninitialized();
			::std::ptr::copy_nonoverlapping(
				&self.points[hnd as usize - 1], &mut ret, 1);
			ret
		}
	}
/// Remove a point from the octree
Remove a point from the octree
Remove a point from the octree
pub fn remove(&mut self, hnd: u32) -> T {
		assert!(self.n_points > 0);
//		assert!(self.root > 0);
//		let i = self.root - 1;
		let bcube = self.bcube;
		let p = self[hnd].bbox();
//		self.remove_point(i, bcube, hnd, p);
		self.point_garbage.push(hnd);
		unsafe {
			let mut ret = ::std::mem::uninitialized();
			::std::ptr::copy_nonoverlapping(
				&self.points[hnd as usize - 1], &mut ret, 1);
			ret
		}
	}
pub fn remove ( & mut self , hnd : u32 ) -> T { assert ! ( self n_points 0 ) ; //		assert!(self.root > 0); //		let i = self.root - 1; let bcube = self . bcube ; let p = self [ hnd ] . bbox ( ) ; //		self.remove_point(i, bcube, hnd, p); self . point_garbage . push ( hnd ) ; unsafe { let mut ret = :: std :: mem :: uninitialized ( ) ; :: std :: ptr :: copy_nonoverlapping ( & self . points [ hnd as usize - 1 ] , & mut ret , 1 ) ; ret } }
Remove a point from the octree
Remove a point from the octree
&mut self
hnd
u32