pub fn isdistpos_bcube(&self, bcube: BCube) -> bool {
		let (_, b) = bcube.pn_pair_from_normal(self.facing);

/*		let pos_side = self.facing.dot(b) + self.offset;
//		let pos_side = (self.facing.x * a.x)+(self.facing.y * a.y)+(self.facing.z * a.z)+self.offset;
		if pos_side > 0.0 {
			//box is completely on positive side of plane
			return true;
		}*/
		let neg_side = self.facing.dot(b.into()) - self.offset;
//		let neg_side = (self.facing.x * b.x)+(self.facing.y * b.y)+(self.facing.z * b.z)+self.offset;
		if neg_side < 0.0 {
			//box is completely on negative side of plane
			return false;
		}

		true

/*		let points = bcube.all_points();

		for point in points.iter() {
			// If point within, it's good!
			if self.isdistpos_point(*point) {
				return true;
			}
		}*/

//		let (a, b) = bcube.pn_pair_from_normal(self.facing);

		// If the extremes of the BCube is within the bounded area
//		self.isdistpos_point(a) || !self.isdistpos_point(b)

//		false
	}
/// Returns true if distance from Plane to BCube is positive
Returns true if distance from Plane to BCube is positive
Returns true if distance from Plane to BCube is positive
pub fn isdistpos_bcube(&self, bcube: BCube) -> bool {
		let (_, b) = bcube.pn_pair_from_normal(self.facing);
/*		let pos_side = self.facing.dot(b) + self.offset;
//		let pos_side = (self.facing.x * a.x)+(self.facing.y * a.y)+(self.facing.z * a.z)+self.offset;
		if pos_side > 0.0 {
			//box is completely on positive side of plane
			return true;
		}*/
		let neg_side = self.facing.dot(b.into()) - self.offset;
//		let neg_side = (self.facing.x * b.x)+(self.facing.y * b.y)+(self.facing.z * b.z)+self.offset;
		if neg_side < 0.0 {
			//box is completely on negative side of plane
			return false;
		}
		true
/*		let points = bcube.all_points();
		for point in points.iter() {
			// If point within, it's good!
			if self.isdistpos_point(*point) {
				return true;
			}
		}*/
//		let (a, b) = bcube.pn_pair_from_normal(self.facing);
		// If the extremes of the BCube is within the bounded area
//		self.isdistpos_point(a) || !self.isdistpos_point(b)
//		false
	}
pub fn isdistpos_bcube ( & self , bcube : BCube ) -> bool { let ( _ , b ) = bcube . pn_pair_from_normal ( self . facing ) ; /*		let pos_side = self.facing.dot(b) + self.offset;
//		let pos_side = (self.facing.x * a.x)+(self.facing.y * a.y)+(self.facing.z * a.z)+self.offset;
		if pos_side > 0.0 {
			//box is completely on positive side of plane
			return true;
		}*/ let neg_side = self . facing . dot ( b . into ( ) ) - self . offset ; //		let neg_side = (self.facing.x * b.x)+(self.facing.y * b.y)+(self.facing.z * b.z)+self.offset; if neg_side < 0.0 { //box is completely on negative side of plane return false ; } true /*		let points = bcube.all_points();

		for point in points.iter() {
			// If point within, it's good!
			if self.isdistpos_point(*point) {
				return true;
			}
		}*/ //		let (a, b) = bcube.pn_pair_from_normal(self.facing); // If the extremes of the BCube is within the bounded area //		self.isdistpos_point(a) || !self.isdistpos_point(b) //		false }
Returns true if distance from Plane to BCube is positive
Returns true if distance from Plane to BCube is positive
&self
bcube
BCube