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

Bases: dolfin.cpp.mesh.CSGPrimitive3D

This class describes a 3D cone which can be used to build geometries using Constructive Solid Geometry (CSG).

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

top (Point)
Center at top of cone.
top_radius (float)
Radius bottom of cone.
bottom (Point)
Center at top of cone.
bottom_radius (float)
radius at top of cone.
slices (int)
number of faces on the side when generating a polyhedral approximation.

The membership flag