MiscFunctions..::..AreaOf3DPolygon Method

Calculate the area of any non-intersecting polygon in 3D space This is faster than projecting to a 2D surface first in a seperate function.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static double AreaOf3DPolygon(
	ICollection<Vertex> polygon,
	double[] normal
)
Public Shared Function AreaOf3DPolygon ( _
	polygon As ICollection(Of Vertex), _
	normal As Double() _
) As Double
public:
static double^ AreaOf3DPolygon(
	ICollection<Vertex^>^ polygon, 
	array<double^>^ normal
)

Parameters

polygon
Type: ICollection<(Of <(<'Vertex>)>)>
The polygon.
normal
Type: array<Double>[]()[][]
The normal.

Return Value

System.Double.