Torus constructor
Contents
[
Hide
]__init__(self)
Initializes a new instance of the Torus class.
def __init__(self):
...
__init__(self, radius, tube)
Initializes a new instance of the Torus class.
def __init__(self, radius, tube):
...
| Parameter | Type | Description |
|---|---|---|
| radius | float | The radius of the torus. |
| tube | float | The radius of the torus’ tube. |
__init__(self, radius, tube, arc)
Initializes a new instance of the Torus class.
def __init__(self, radius, tube, arc):
...
| Parameter | Type | Description |
|---|---|---|
| radius | float | The radius of the torus. |
| tube | float | The radius of the torus’ tube. |
| arc | float | Arc. |
__init__(self, name, radius, tube, radial_segments, tubular_segments, arc)
Initializes a new instance of the Torus class.
def __init__(self, name, radius, tube, radial_segments, tubular_segments, arc):
...
| Parameter | Type | Description |
|---|---|---|
| name | System.String | Name. |
| radius | float | The radius of the torus. |
| tube | float | The radius of the torus’ tube. |
| radial_segments | int | Radial segments. |
| tubular_segments | int | Tubular segments. |
| arc | float | Arc. |
See Also
- module
aspose.threed.entities - class
Torus