CylinderContainer
May 11, 2022 ยท View on GitHub
from tdw.container_data.cylinder_container import CylinderContainer
A cylindrical container shape.
Fields
-
radiusThe radius of the cylinder. -
heightThe height of the cylinder. -
rotationThe rotation of the cylinder relative to the parent object in Euler angles. -
tagThe collider's semanticContainerTag. -
positionThe position of the shape relative to the parent object.
Functions
__init__
CylinderContainer(tag, position, radius, height, rotation)
| Parameter | Type | Default | Description |
|---|---|---|---|
| tag | ContainerTag | The cylinder's semantic ContainerTag. | |
| position | Dict[str, float] | The position of the cylinder relative to the parent object. | |
| radius | float | The radius of the cylinder. | |
| height | float | The height of the cylinder. | |
| rotation | Dict[str, float] | The rotation of the cylinder relative to the parent object in Euler angles. |