Polyhedra cylinder

Constructs a polyhedra with the form of a cylinder.

Syntax

polyhedra_cylinder(Natural)
polyhedra_cylinder(Natural, Point)
polyhedra_cylinder(Natural, Real, Real)
polyhedra_cylinder(Natural, Point, Real, Real)

Description

Given a natural nLaTeXn, constructs a polyhedra with the form of a cylinder of nLaTeXn sides, centered at the origin, with height and radius of 1 unit.

calc.polyhedra_cylinder1.calc.png

Given a natural nLaTeXn and a point PLaTeXP, constructs a polyhedra with the form of a cylinder of nLaTeXn sides, centered at PLaTeXP, with height and radius of 1 unit.

calc.polyhedra_cylinder2.calc.png

Given a natural nLaTeXn and two reals rLaTeXr and hLaTeXh, constructs a polyhedra with the form of a cylinder of nLaTeXn sides, centered at the origin, with height hLaTeXh and radius rLaTeXr.

calc.polyhedra_cylinder3.calc.png

Given a natural nLaTeXn, a point PLaTeXP and two reals rLaTeXr and hLaTeXh, constructs a polyhedra with the form of a cylinder of nLaTeXn sides, centered at PLaTeXP, with height hLaTeXh and radius rLaTeXr.

calc.polyhedra_cylinder4.calc.png