integer, intent(in) :: npts type (GPOINT3), intent(in) :: points(*) type (GPOINT3), intent(out) :: normal
Arguments
npts
Number of vertices in facet/surface
points
Array specifying series of absolute points that define a facet/surface boundary
normal
Returned planar normal
Description
The routine gReturnPlanarNormal() returns a vector representing the planar normal of the vertices passed in the array points. It is assumed that the points in fact lie on a plane, as the routine only uses the first, second and last points passed to calculate the normal vector.