[vtkusers] how to calculate area of triangle.

Anka Kochanowska anka at bic.mni.mcgill.ca
Thu Nov 16 09:48:22 EST 2006


Heron formula.
Anka

Dongqing Chen wrote:

> Deaer All:
>  
>     Now I want to calculate the area of a certain triangle on a 
> triangulated mesh surface. I searched the archives and knew that 
> vtkMassProperties could estimate volume, area, shape index of triangle 
> mesh .
>  
>   But it seems that it only provide the area for the entirely closed 
> mesh surface? How can I get the area of a certain triangle given that 
> I know all the three vertices? and moreover, how can I get the area of 
> the neighboring triangles sharing a vertex whose ptID I have already 
> known.
>  
>   Any hint is highly appreciated.
>  
> Best Wishes,
> -----------------------------------------------------------------
> Dongqing Chen
> Ph.D Research Assistant
> Rm. 07, Paul C. Lutz Hall
> Computer Vision & Image Processing (CVIP) Lab
> Department of Electrical & Computer Engineering
> Speed School of Engineering
> University of Louisville
> Louisville, KY. 40292
> U.S.A
> Email: dqchen at cvip.louisville.edu <mailto:dqchen at cvip.louisville.edu>
> Phone:+1-502-852-2789 (Lab)
>             +1-502-852-6130 (Office)
> -----------------------------------------------------------------
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>



More information about the vtkusers mailing list