Type Alias parry3d::shape::RoundCone

source ·
pub type RoundCone = RoundShape<Cone>;
Expand description

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

Aliased Type§

struct RoundCone {
    pub inner_shape: Cone,
    pub border_radius: f32,
}

Fields§

§inner_shape: Cone

The shape being rounded.

§border_radius: f32

The radius of the rounded border.

Implementations§

source§

impl RoundCone

source

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

Outlines this round cone’s shape using polylines.