Cylinder

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.

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

The membership flag