Mesh.CreateCylinder (Double, Point3D, Point3D, Int32, natureType, edgeStyleType) Method

Creates a Cylinder primitive.
Public Shared Function CreateCylinder( _ 
ByVal radius As Double, _ 
ByVal point1 As Point3D, _ 
ByVal point2 As Point3D, _ 
ByVal slices As Integer, _ 
ByVal meshNature As natureType, _ 
ByVal edgeStyle As edgeStyleType
) As Mesh
This language is not supported or no code example is available.
public static Mesh CreateCylinder( 
double radius
Point3D point1
Point3D point2
int slices
natureType meshNature
edgeStyleType edgeStyle 
)
This language is not supported or no code example is available.

Parameters

radius
double

Cylinder's radius

point1
Point3D

Cylinder's first point

point2
Point3D

Cylinder's second point

slices
int

Number of faces of the cylinder approximation

meshNature
natureType

Nature of the mesh

edgeStyle
edgeStyleType

Style of the edges

Return Value

Mesh

The created mesh.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition