Cylinder#
- final class Cylinder[source]#
Bases:
_VolumeEntityBaseCylinder in three-dimensional space.
Example
>>> Cylinder( ... name="bet_disk_volume", ... center=(0, 0, 0) * unyt.inch, ... axis=(0, 0, 1), ... outer_radius=150 * unyt.inch, ... height=15 * unyt.inch, ... )
Attributes
- axis: Axis#
The axis of the cylinder.
- center: Length.Vector3#
The center point of the cylinder.
- height: Length.PositiveFloat64#
The height of the cylinder.
- inner_radius: Length.NonNegativeFloat64, optional#
The inner radius of the cylinder.
- Default:
0 * fl.u.m
- outer_radius: Length.PositiveFloat64#
The outer radius of the cylinder.
Properties