POV-Ray : Newsgroups : povray.newusers : Mesh and polygons area : Re: Mesh and polygons area Server Time
29 Jul 2024 00:29:36 EDT (-0400)
  Re: Mesh and polygons area  
From: Francesco
Date: 3 Nov 2007 03:15:00
Message: <web.472c2d15881ace7c73fa22050@news.povray.org>
Thanks a lot for the assistance to everybody.

> "Penelope20k" <pen### [at] caramailfr> wrote:
> >> the area of triangle is
> >> Area = abs(   (xB*yA - xA*yB)  + (xC*yB -x B*yC)+( xA*yC - xC*yA ) ) /2

> >>>> "Le Forgeron" <jgr### [at] freefr>
> > Mesh...are not in the same plane, share no common edges... )

Don't they share edges? Ok, they are not in the same plane but they share at
least one edge, or not?

>> That formula works (???) only in the plane of the triangle. A
>> triangle is always 2D.....
>> the previous formula of penelope2k seems a bit wrong about
>> the computation...

Calculating area triangle per triangle I can always suppose z=0 (translating and
rotating axis) as triangles are 2D. So I think the formula posted by Penelope20k
is good.


Francesco


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.