Implemented some basic plane geometry support.