39 vetor[i]= (
fPoint[i] - vetor[i]);
42 norma = inner_product(&vetor[0], &vetor[3], &vetor[0], REAL(0.0));
TPZVec< REAL > fPoint
Any point belongs at the line.
REAL GetTolerance()
Returns the tolerance value considered to compute.
REAL fTolerance
Tolerance value to computes.
void SetLine(const TPZVec< REAL > &point, const TPZVec< REAL > &dir)
Store a point and direction vector of the line.
Contains declaration of the TPZLine class which implements a line.
static void ProdVetorial(TPZVec< Tvar > &u, TPZVec< Tvar > &v, TPZVec< Tvar > &result)
Computes the vectorial product u x v.
bool Belongs(const TPZVec< REAL > &point)
Verify whether the point belongs at the line.
int64_t NElements() const
Returns the number of elements of the vector.
TPZVec< REAL > fDirection
Vector direction of the line.
Contains declaration of the TPZNumeric class which implements several methods to calculation.
void SetTolerance(const REAL &tol)
Sets the tolerance value to compute.