Gets the area of the triangulated surface of the elliptical cone.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public double Area(
	int numberOfFaces
)
Visual Basic (Declaration)
Public Function Area ( _
	numberOfFaces As Integer _
) As Double
Visual C++
public:
double Area(
	int numberOfFaces
)

Parameters

numberOfFaces
Type: System..::.Int32
The number of triangular faces on the surface.

Return Value

Returns the surface area of the elliptical cone.

Remarks

The accuracy of this value increases with increasing number of faces on the surface.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe bottom or top ellipse is null.
System..::.ArgumentExceptionNumber of faces on surface is odd. Must be even.
System..::.ArgumentExceptionNumber of faces on surface is less than 12.

See Also