Gets the triangulated surface of the elliptical cone.
Namespace:
ceometric.VectorGeometryAssembly: 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
Exception | Condition |
---|---|
System..::.InvalidOperationException | The bottom or top ellipse is null. |
System..::.ArgumentException | Number of faces on surface is odd. Must be even. |
System..::.ArgumentException | Number of faces on surface is less than 12. |