Restricted quantum-mechanical three-body problems