editor: take out intersection plane code into separate class