Class AutoRouter
AutoRouter utility class is used to find a route around obstacles from source to target
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class AutoRouter
Methods
| Name | Description |
|---|---|
| ComputeEdgeSpacing(SystemEdgeControl, PathDescriptor, List<EdgeDescriptor>, float, float) | Compute the edge spacing so that edges don't overlap |
| EdgeFineTuning(PathDescriptor) | Fine tune the edge path by creating 45 degree turns |
| GetRectIntersection(Line, Rect, ref Vector2, ref Vector2) | Get the intersection status and points between a line and a rect. |
| GetSideDistances(List<Rect>, Vector2, ref float, ref float) | Get the left and right x coordinates that a line would intersect from a given point to a list of obstacles. |
| Path(ref PathDescriptor, List<Rect>, Vector2, Vector2, Vector2, Vector2, int) | Trace the path for a series of obstacles using the state descriptor provided |