Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<Ponto> Ajuste()
- {
- float m = CoeficienteM();
- float b = CoeficienteB();
- List<Ponto> pontosajuste = new List<Ponto>();
- foreach (Ponto p in listapontos)
- {
- float novo_s = m * p.T + b;
- Ponto novo_p = new Ponto(p.T, novo_s);
- pontosajuste.Add(novo_p);
- }
- return pontosajuste;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement