Added plane sweep method