Circle¶
-
class
dolfin.cpp.mesh.
Circle
(*args)¶ Bases:
dolfin.cpp.mesh.CSGPrimitive2D
This class describes a 2D circle which can be used to build geometries using Constructive Solid Geometry (CSG).
Create circle at x = (x0, x1) with radius r.
- Arguments
- x0 (float)
- x0-coordinate of center.
- x1 (float)
- x1-coordinate of center.
- r (float)
- radius.
- fragments (int)
- number of fragments.
-
center
()¶ Return center of circle
-
fragments
()¶ Return number of fragments around the circle
-
radius
()¶ Return radius of circle
-
thisown
¶ The membership flag