openmc.model.cylinder_from_points¶
- openmc.model.cylinder_from_points(p1, p2, r=1.0, **kwargs)¶
Return a cylinder given points that define the axis and a radius.
New in version 0.12.
- Parameters
- Returns
Cylinder that has an axis through the points p1 and p2, and a radius r.
- Return type
Cylinder