Type Alias parry3d::shape::RoundCylinder

source ·
pub type RoundCylinder = RoundShape<Cylinder>;
Expand description

A cylinder dilated by a sphere (so it has round corners).

Aliased Type§

struct RoundCylinder {
    pub inner_shape: Cylinder,
    pub border_radius: f32,
}

Fields§

§inner_shape: Cylinder

The shape being rounded.

§border_radius: f32

The radius of the rounded border.

Implementations§

source§

impl RoundCylinder

source

pub fn to_outline( &self, nsubdiv: u32, border_nsubdiv: u32 ) -> (Vec<Point3<Real>>, Vec<[u32; 2]>)

Outlines this round cylinder’s shape using polylines.