geometria-analitica
Version:
Pacote com cálculos de Geometria Analítica
15 lines (14 loc) • 935 B
TypeScript
export type VetorXYType = [number, number];
export type VetorXYZType = [number, number, number];
export type VetorType = VetorXYType | VetorXYZType;
export declare class GA {
static produtoVetorial(vetorA: VetorXYZType, vetorB: VetorXYZType, head?: VetorXYZType): number[];
static produtoEscalar(vetorA: VetorXYZType, vetorB: VetorXYZType): number;
static moduloVetor(vetor: VetorXYZType): number;
static calcularVetor(vetorA: VetorXYZType, vetorB: VetorXYZType): VetorXYZType;
static equacaoParametrica(ponto: VetorXYZType, vetorDiretor: VetorXYZType): string[];
static equacaoGeralDoPlano(vetor: VetorXYZType, ponto: VetorXYZType): string;
static anguloEntreVetores(vetorA: VetorXYZType, vetorB: VetorXYZType): number;
static produtoMisto(vetorA: VetorXYZType, vetorB: VetorXYZType, vetorC: VetorXYZType): number;
static distanciaEntrePontos(vetorA: VetorXYZType, vetorB: VetorXYZType): number;
}