Пример #1
0
 public static bool IsParallel(this Direction a, Direction b)
 {
     return(!DirectionExtensions.IsPerpendicular(a, b));
 }
Пример #2
0
 public static bool IsPerpendicular(this Direction a, Direction b)
 {
     return(DirectionExtensions.isPerpendicular(a, b) || DirectionExtensions.isPerpendicular(b, a));
 }