public bool Contains(vector v) { v.SubSelf(Center); return(Math.Abs(v.X) <= Extents.X && Math.Abs(v.Y) <= Extents.Y && Math.Abs(v.Z) <= Extents.Z); }
public void ExpandSelf(element s) { Min.SubSelf(s); Max.AddSelf(s); }
public bool Contains(vector v) { v.SubSelf(Center); return(Math.Abs(v.X) <= Extents.X && Math.Abs(v.Y) <= Extents.Y && Math.Abs(v.Z) <= Extents.Z); }
public void ExpandSelf(element s) { Min.SubSelf(s); Max.AddSelf(s); }