Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Mesh Class / CreateCone Method / CreateCone(Double,Double,Point3D,Point3D,Int32,natureType) Method
Cone's base radius
Cone's top radius
Cone''s first point
Cone''s second point
Number of faces of the cylinder approximation
Nature of the mesh

In This Topic
    CreateCone(Double,Double,Point3D,Point3D,Int32,natureType) Method
    In This Topic
    Creates a Cone primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateCone( _
       ByVal baseRadius As Double, _
       ByVal topRadius As Double, _
       ByVal point1 As Point3D, _
       ByVal point2 As Point3D, _
       ByVal slices As Integer, _
       ByVal meshNature As Mesh.natureType _
    ) As Mesh
    public static Mesh CreateCone( 
       double baseRadius,
       double topRadius,
       Point3D point1,
       Point3D point2,
       int slices,
       Mesh.natureType meshNature
    )

    Parameters

    baseRadius
    Cone's base radius
    topRadius
    Cone's top radius
    point1
    Cone''s first point
    point2
    Cone''s second point
    slices
    Number of faces of the cylinder approximation
    meshNature
    Nature of the mesh

    Return Value

    The created mesh.
    See Also