FEATool  v1.8
Finite Element Analysis Toolbox
 All Files Functions Pages
polyarea3.m File Reference


POLYAREA3 Area of a polygon in 3D space.

[ AREA ] = POLYAREA3( P1, P2, P3, P4 ) Computes the area of a triangular or quadrilateral 3D polygon. P1 is either a 3 (x/y/z) by 3 or 4 array of polygon vertex coordinates, or alternatively P1-P3/4 are arrays of size 3 by the number of polygons with coordinates of the polygon vertices.