Cylinder constructor
Contents
[
Hide
]init
Initializes a new instance of the Cylinder
class.
def __init__(self):
...
init
Initializes a new instance of the Cylinder
class.
def __init__(self, radius, height):
...
Parameter | Type | Description |
---|---|---|
radius | float | Radius of the top and bottom cap. |
height | float | Height. |
init
Initializes a new instance of the Cylinder
class.
def __init__(self, radius_top, radius_bottom, height):
...
Parameter | Type | Description |
---|---|---|
radius_top | float | Radius top. |
radius_bottom | float | Radius bottom. |
height | float | Height. |
init
Initializes a new instance of the Cylinder
class.
def __init__(self, radius_top, radius_bottom, height, radial_segments, height_segments, open_ended):
...
Parameter | Type | Description |
---|---|---|
radius_top | float | Radius of cylinder’s top cap. |
radius_bottom | float | Radius of cylinder’s bottom cap. |
height | float | Height of the cylinder. |
radial_segments | int | Radial segments of both top and bottom circles.. |
height_segments | int | Height segments. |
open_ended | bool | If set to true the cylinder would have no bottom/top caps.. |
init
Initializes a new instance of the Cylinder
class.
def __init__(self, name, radius_top, radius_bottom, height, radial_segments, height_segments, open_ended, theta_start, theta_length):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of this object |
radius_top | float | Radius of cylinder’s top cap. |
radius_bottom | float | Radius of cylinder’s bottom cap. |
height | float | Height of the cylinder. |
radial_segments | int | Radial segments of both top and bottom circles.. |
height_segments | int | Height segments. |
open_ended | bool | If set to true the cylinder would have no bottom/top caps.. |
theta_start | float | Theta start. |
theta_length | float | Theta length. |
See Also
- module
aspose.threed.entities
- class
Cylinder