This commit is contained in:
Joachim Schoeberl 2011-10-12 19:15:07 +00:00
parent 2810112b5d
commit 64fbdb9d46

View File

@ -88,6 +88,13 @@ void Surface :: DefineTangentialPlane (const Point<3> & ap1,
ex -= (ex * ez) * ez; ex -= (ex * ez) * ez;
ex.Normalize(); ex.Normalize();
ey = Cross (ez, ex); ey = Cross (ez, ex);
*testout << "surface, deftangentialplane" << endl;
*testout << "p1 = " << p1 << endl;
*testout << "p2 = " << p2 << endl;
*testout << "ez = " << ez << endl;
*testout << "ex = " << ex << endl;
*testout << "ey = " << ey << endl;
} }
void Surface :: ToPlane (const Point<3> & p3d, Point<2> & pplane, void Surface :: ToPlane (const Point<3> & p3d, Point<2> & pplane,