Method IsParallel
IsParallel(Line, Line, ref Alignment)
This function check Horizontal or Vertical line for parallel!
Declaration
public static bool IsParallel(AutoRouter.Line a, AutoRouter.Line b, ref AutoRouter.Direction.Alignment alignment)
Parameters
Type | Name | Description |
---|---|---|
AutoRouter.Line | a | First line |
AutoRouter.Line | b | Second line |
AutoRouter.Direction.Alignment | alignment | Alignment to check for parallel |
Returns
Type | Description |
---|---|
bool | True if lines are parallel accoridng to the alignment provided |