is there a function to compute the area of a polygon in 3D ?

I want to compute the area of polygons which vertices are in an other plane than plane X,Y. So they are defined by coordinates X, Y and Z. Consequently I can't use the function S=polyarea(X,Y). Is there a function S=fun(X,y,Z) to do this ?
Additionaly, is there a function to calculate the value of a volume delimited by polygons ?

Categories

Tags

Asked:

on 17 Sep 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!