Sphere¶
-
class
dolfin.cpp.mesh.
Sphere
(*args)¶ Bases:
dolfin.cpp.mesh.CSGPrimitive3D
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)
- radius.
-
c
¶
-
r
¶
-
thisown
¶ The membership flag