[Gmsh] outward normal of surface triangles
Ashish Garg
ashish.garg.iisc at gmail.com
Wed May 2 09:39:06 CEST 2012
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 <ashish.negi at honeywell.com>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
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120502/9ff87d97/attachment.html>