'Declaration Public Overloads Shared Function CreateCylinder( _ ByVal radius As Double, _ ByVal point1 As Point3D, _ ByVal point2 As Point3D, _ ByVal slices As Integer, _ ByVal meshNature As Mesh.natureType, _ ByVal edgeStyle As Mesh.edgeStyleType _ ) As Mesh
public static Mesh CreateCylinder( double radius, Point3D point1, Point3D point2, int slices, Mesh.natureType meshNature, Mesh.edgeStyleType edgeStyle )
Parameters
- radius
- Cylinder's radius
- point1
- Cylinder's first point
- point2
- Cylinder's second point
- slices
- Number of faces of the cylinder approximation
- meshNature
- Nature of the mesh
- edgeStyle
- Style of the edges
Return Value
The created mesh.