示例#1
0
 public Vetor2D projVetor(Vetor2D vet1)
 {
     return(vet1.multiplica(prodEscalar(vet1) / Math.Pow(vet1.norma(), 2)));
 }
示例#2
0
 public double angulo(Vetor2D vet1)
 {
     return(Math.Acos(prodEscalar(vet1) / (norma() * vet1.norma())));
 }