# Sphere¶

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

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

Create sphere at x = (x0, x1, x2) with radius r.

Arguments
x0 (float)
x0-coordinate of center.
x1 (float)
x1-coordinate of center.
x2 (float)
x2-coordinate of center.
r (float)
c
r
thisown