Skip to main content

thicken

Function thicken 

Source
pub fn thicken(
    mesh: &Triangulation,
    distance: f64,
    side: Thicken,
) -> OgeomResult<Thickened>
Expand description

Thicken an open mesh by distance to side.

The sheet must be 2-manifold and have a rim; its vertices are taken as numbered, not welded.

§Errors

OgeomError::Construction if distance is not a positive distance, the sheet is not 2-manifold or is closed, or the result does not bound a solid as boolean asks of an operand, named “thickened”; OgeomError::NullObject if it has no triangles; and as Editable::from and Editable::offset.