[Gmsh] outward normal of surface triangles
Negi, Ashish
ashish.negi at honeywell.com
Wed May 2 09:08:25 CEST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120502/82cac3cc/attachment.html>