Description :
This instruction creates a cylinder primitive.
Since this instruction takes as parameters the radii of the circles composing both the cylinder\'s base and top, it can also be used to create a cone primitive by giving a null value to either the base or the top circle.
Parameters :
-
Radius of the base (cone primitive if 0).
-
Radius of the top (cone primitive if 0).
-
Height of the cylinder.
-
Number of segments in the circular base.
Return Handle :
-
ObjectID of the mesh if the creation was successful, NULL otherwise.
Examples :
|