Type Alias parry3d_f64::shape::RoundConvexPolyhedron

source ·
pub type RoundConvexPolyhedron = RoundShape<ConvexPolyhedron>;
Expand description

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

Aliased Type§

struct RoundConvexPolyhedron {
    pub inner_shape: ConvexPolyhedron,
    pub border_radius: f64,
}

Fields§

§inner_shape: ConvexPolyhedron

The shape being rounded.

§border_radius: f64

The radius of the rounded border.

Implementations§

source§

impl RoundConvexPolyhedron

source

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

Outlines this round convex polyhedron’s shape using polylines.