OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Vrml_Cone Class Reference

    defines a Cone node of VRML specifying geometry shapes. This node represents a simple cone, whose central axis is aligned with the y-axis. By default, the cone is centred at (0,0,0) and has size of -1 to +1 in the all three directions. the cone has a radius of 1 at the bottom and height of 2, with its apex at 1 and its bottom at -1. The cone has two parts: the sides and the bottom More...

    #include <Vrml_Cone.hxx>

    Public Member Functions

     Vrml_Cone (const Vrml_ConeParts aParts=Vrml_ConeALL, const double aBottomRadius=1, const double aHeight=2)
    void SetParts (const Vrml_ConeParts aParts)
    Vrml_ConeParts Parts () const
    void SetBottomRadius (const double aBottomRadius)
    double BottomRadius () const
    void SetHeight (const double aHeight)
    double Height () const
    Standard_OStreamPrint (Standard_OStream &anOStream) const

    Detailed Description

    defines a Cone node of VRML specifying geometry shapes. This node represents a simple cone, whose central axis is aligned with the y-axis. By default, the cone is centred at (0,0,0) and has size of -1 to +1 in the all three directions. the cone has a radius of 1 at the bottom and height of 2, with its apex at 1 and its bottom at -1. The cone has two parts: the sides and the bottom

    Constructor & Destructor Documentation

    ◆ Vrml_Cone()

    Vrml_Cone::Vrml_Cone ( const Vrml_ConeParts aParts = Vrml_ConeALL,
    const double aBottomRadius = 1,
    const double aHeight = 2 )

    Member Function Documentation

    ◆ BottomRadius()

    double Vrml_Cone::BottomRadius ( ) const

    ◆ Height()

    double Vrml_Cone::Height ( ) const

    ◆ Parts()

    Vrml_ConeParts Vrml_Cone::Parts ( ) const

    ◆ Print()

    Standard_OStream & Vrml_Cone::Print ( Standard_OStream & anOStream) const

    ◆ SetBottomRadius()

    void Vrml_Cone::SetBottomRadius ( const double aBottomRadius)

    ◆ SetHeight()

    void Vrml_Cone::SetHeight ( const double aHeight)

    ◆ SetParts()

    void Vrml_Cone::SetParts ( const Vrml_ConeParts aParts)

    The documentation for this class was generated from the following file: