Hi Ashish give the condition that the cross product should be greater than zero. I guess it will resolve the problem.
Ashish Garg On Wed, May 2, 2012 at 12:38 PM, Negi, Ashish <[email protected]>wrote: > Hello Everyone,**** > > ** ** > > I’ve been using GMSH library to open Nastran BDF file and extract mesh > data for my software. I generally load a mesh consisting of only > Tetrahedra. Hence, surface of model have only Triangle elements. **** > > ** ** > > I want to find outward normal at each Triangle. I get coordinates of each > Triangle and then take cross product to get normal to the element. But, I’m > not sure if it will always be outward. Can someone suggest a solution to > this problem?**** > > ** ** > > Thanks,**** > > Ashish**** > > ** ** > > ** ** > > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh > >
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
