Skip to main content

Polyhedra cylinder with lids

Constructs a polyhedra with the form of a cylinder, including the top and bottom bases.

Syntax

polyhedra_cylinder_with_lids(Natural)
polyhedra_cylinder_with_lids(Natural, Point)
polyhedra_cylinder_with_lids(Natural, Real, Real)
polyhedra_cylinder_with_lids(Natural, Point, Real, Real)

Description

Given a natural n and two reals r and h, constructs a polyhedra with the form of a cylinder of n sides, centered at the origin, with height h and radius r.

calc.polyhedra_cylinder_with_lids3.calc.png
calc.polyhedra_cylinder_with_lids3.plotter0.calc.png

Given a natural n, a point P and two reals r and h, constructs a polyhedra with the form of a cylinder of n sides, centered at P, with height h and radius r.

calc.polyhedra_cylinder_with_lids4.calc.png
calc.polyhedra_cylinder_with_lids4.plotter0.calc.png