class dolfin.cpp.mesh.Cylinder(*args)

Bases: dolfin.cpp.mesh.Cone

This class describes a 3D cylinder which can be used to build geometries using Constructive Solid Geometry (CSG). A cylinder is here just a special case of a cone.

Create cylinder defined by upper and lower center and radius respectively.

top (Point)
Center at top of cylinder.
bottom (Point)
Center at top of cylinder.
r (float)
radius of cylinder.
slices (int)
number of faces on the side when generating a polyhedral approximation.

The membership flag