/// <summary> /// return if two nodes are aligned /// </summary> /// <param name="pos1"></param> /// <param name="pos2"></param> /// <returns></returns> public bool AreAligned(int pos1, int pos2) { return(PositionTools.areInLine(WidthAndHeight, pos1, pos2)); }