Skip to main content

make_pyramid_on_polygon

Function make_pyramid_on_polygon 

Source
pub fn make_pyramid_on_polygon(
    base: &[Vec3],
    apex: Vec3,
) -> Result<BrepSolid, KernelRefusal>
Expand description

The pyramid on the plane polygon base (its corners in order, either way round) with its point at apex: the base and one triangle on each of its sides. The base need not be regular, nor the apex over its middle.