DiagramRouteExtensions
StockSharp.Xaml.Diagram.Routing
Provides route geometry checks shared by rendering and tests.
Métodos
HasSegmentThrough
public static bool HasSegmentThrough(IReadOnlyList<DiagramRoutePoint> points, DiagramRouteRect obstacle)
result = DiagramRouteExtensions.HasSegmentThrough(points, obstacle)
Checks whether any route segment crosses the interior of an obstacle.
- points
- Route points.
- obstacle
- Obstacle rectangle.
Devuelve: when a segment crosses the rectangle.