openmc.model.cylinder_from_points¶
-
openmc.model.
cylinder_from_points
(p1, p2, r, **kwargs)[source]¶ Return cylinder defined by two points passing through its center.
Parameters: - p2 (p1,) – Coordinates of two points that pass through the center of the cylinder
- r (float) – Radius of the cylinder
- kwargs (dict) – Keyword arguments passed to the
openmc.Quadric
constructor
Returns: Quadric surface representing the cylinder.
Return type: