from tdw.container_data.cylinder_container import CylinderContainer
A cylindrical container shape.
-
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.
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. |