better comment to interpolationParameter2

This commit is contained in:
Paolo Cignoni 2009-12-04 08:32:00 +00:00
parent f7b9856d0d
commit 6e3f10928e
1 changed files with 6 additions and 1 deletions

View File

@ -166,7 +166,12 @@ typename TriangleType::ScalarType QualityFace(const TriangleType &t)
// More robust function to computing barycentric coords of a point inside a triangle.
// it requires the knowledge of what is the direction that is more orthogonal to the face plane.
// Usually this info can be stored in a bit of the face flags (see updateFlags class members)
// Usually this info can be stored in a bit of the face flags (see updateFlags::FaceProjection(MeshType &m) )
// and accessing the field with
// if(fp->Flags() & FaceType::NORMX ) axis = 0;
// else if(fp->Flags() & FaceType::NORMY ) axis = 1;
// else axis =2;
// InterpolationParameters(*fp,axis,Point,Bary);
// This direction is used to project the triangle in 2D and solve the problem in 2D where it is well defined.
template<class TriangleType, class ScalarType>