Bentley-Ottmann endpoint event code
Bentley-Ottmann intersection event code