pub fn make_wedge(
model: &mut Model,
frame: Frame,
size: (f64, f64, f64),
top: (f64, f64),
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Build a wedge: a box whose top face is inset.
size is the box at the frame’s origin; top is the (x, y) extent of the
upper face, over the same corner. Equal extents give a box.
Both top extents must be positive. A wedge whose top collapses to a ridge has five faces and one whose top collapses to a point has four: different topologies, not this one with a zero somewhere, and building them here would produce a face with no area.
§Errors
OgeomError::Construction if a dimension is
not finite and positive.