Gets 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 List<Triangle> GetSurface(
	int numberOfFaces
)
Visual Basic (Declaration)
Public Function GetSurface ( _
	numberOfFaces As Integer _
) As List(Of Triangle)
Visual C++
public:
List<Triangle^>^ GetSurface(
	int numberOfFaces
)

Parameters

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

Return Value

Returns the surface of the elliptical cone as a list of triangles.

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