angleSet refactoring