internal LeftIntersectionEvent(ConeLeftSide coneLeftSide, Point intersectionPoint, PolylinePoint endVertex) { this.coneLeftSide = coneLeftSide; this.intersectionPoint = intersectionPoint; this.endVertex = endVertex; }
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)); } }