Class AutoRouter.Line
Line description
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class AutoRouter.Line
Constructors
| Name | Description |
|---|---|
| Line() | Constructor |
| Line(float, float, float, float) | Constructor with 4 coordinates |
| Line(Vector2, Vector2) | Constructor from 2 points |
Fields
| Name | Description |
|---|---|
| name | Name of this line |
| start | Start Point |
| stop | Stop Point |
Methods
| Name | Description |
|---|---|
| GetIntersection(Line, Line, ref Vector2, float) | Get Intersection status and point for 2 lines |
| IsParallel(Line, Line, ref Alignment) | This function check Horizontal or Vertical line for parallel! |
| SqrLength() | Squared length of the line |
| ToString() | String representation of the line |