Eyeshot 10 WinForms API Reference
CreateCylinder<T>(Double,Double,Int32,natureType,edgeStyleType) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Mesh Class > CreateCylinder Method : CreateCylinder<T>(Double,Double,Int32,natureType,edgeStyleType) Method
Cylinder's radius
Cylinder's height
Nature of the mesh
Style of the edges
Creates a Cylinder primitive.
Syntax
'Declaration
 
Public Overloads Shared Function CreateCylinder(Of T As {New, Mesh})( _
   ByVal radius As Double, _
   ByVal height As Double, _
   ByVal slices As Integer, _
   ByVal meshNature As Mesh.natureType, _
   ByVal edgeStyle As Mesh.edgeStyleType _
) As T
public static T CreateCylinder<T>( 
   double radius,
   double height,
   int slices,
   Mesh.natureType meshNature,
   Mesh.edgeStyleType edgeStyle
)
where T: new(), Mesh

Parameters

radius
Cylinder's radius
height
Cylinder's height
slices
meshNature
Nature of the mesh
edgeStyle
Style of the edges

Type Parameters

T

Return Value

The created mesh.
Exceptions
ExceptionDescription
See Also

Reference

Mesh Class
Mesh Members
Overload List