flex_rf.tidy3d.Cylinder
Type: class │ Base(s): Centered, Circular, Planar
Description
Section titled “Description”Cylindrical geometry with optional sidewall angle along axis
direction. When sidewall_angle is nonzero, the shape is a
conical frustum or a cone.
Example(s)
Section titled “Example(s)”c = Cylinder(center=(1,2,3), radius=2, length=5, axis=2)Parameters
Section titled “Parameters”radius [TracedSize1D] |
|
Radius of geometry at the |
length [TracedSize1D] |
|
Defines thickness of cylinder along axis dimension. |
axis [Axis] = 2 |
|
Specifies dimension of the planar axis (0,1,2) -> (x,y,z). |
sidewall_angle [TracedFloat] = 0.0 |
|
Angle of the sidewall. |
reference_plane [PlanePosition] = 'middle' |
|
The position of the plane where the supplied cross section are defined. The plane is perpendicular to the |
center [TracedCoordinate] = (0.0, 0.0, 0.0) |
|
Center of object in x, y, and z. |
Attributes
Section titled “Attributes”center_axis [Any] |
|
Gets the position of the center of the geometry in the out of plane dimension. |
length_axis [float] |
|
Gets the length of the geometry along the out of plane dimension. |
Methods
Section titled “Methods”bounds() |
|
Returns bounding box min and max coordinates. |
inside(x: np.ndarray[float], y: np.ndarray[float], z: np.ndarray[float]) |
|
For input arrays |
radius_bottom() |
|
radius of bottom |
radius_max() |
|
max(radius of top, radius of bottom) |
radius_min() |
|
min(radius of top, radius of bottom). It can be negative for a large sidewall angle. |
radius_top() |
|
radius of bottom |
to_polyslab(num_pts_circumference: int = _N_PTS_CYLINDER_POLYSLAB, **kwargs: Any) |
|
Convert instance of |