pub trait ToPolyline<N: Real> {
    type DiscretizationParameter;

    fn to_polyline(&self, i: Self::DiscretizationParameter) -> Polyline<N>;
}
Expand description

Trait implemented by shapes that can be approximated by a triangle mesh.

Required Associated Types§

Required Methods§

Builds a triangle mesh from this shape.

Arguments:
  • i - the discretization parameters.

Implementors§