void TryIntersectionOfConeLeftSideAndObstacleSide(ConeLeftSide coneLeftSide, ObstacleSide side) { Point x; if (Point.IntervalIntersectsRay(side.Start, side.End, coneLeftSide.Start, coneLeftSide.Direction, out x)) { EnqueueEvent(new LeftIntersectionEvent(coneLeftSide, x, side.EndVertex)); // Show(CurveFactory.CreateDiamond(3, 3, x)); } }