Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Solid Class / CreateCylinder Method / CreateCylinder(Double,Point3D,Point3D,Int32) Method
Cylinder's radius
Cylinder's first point
Cylinder's second point
Number of faces of the cylinder approximation

In This Topic
    CreateCylinder(Double,Point3D,Point3D,Int32) Method
    In This Topic
    Creates a Cylinder primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateCylinder( _
       ByVal radius As Double, _
       ByVal point1 As Point3D, _
       ByVal point2 As Point3D, _
       ByVal slices As Integer _
    ) As Solid
    public static Solid CreateCylinder( 
       double radius,
       Point3D point1,
       Point3D point2,
       int slices
    )

    Parameters

    radius
    Cylinder's radius
    point1
    Cylinder's first point
    point2
    Cylinder's second point
    slices
    Number of faces of the cylinder approximation

    Return Value

    The created solid.
    See Also