Function traffloat_types::space::transform_cylinder[][src]

pub fn transform_cylinder(x: f64, y: f64, zn: f64, zp: f64) -> Matrix
Expand description

Creates a transformation matrix from a unit cylinder cuboid to one with base center (0, 0, -zn) and top center (0, 0, zn), with cross-section ellipse radii x, y on the X, Y axes.