Ellipse

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

Bases: dolfin.cpp.mesh.CSGPrimitive2D

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

Create ellipse at x = (x0, x1) with horizontal semi-axis a and vertical semi-axis b.

Arguments
x0 (float)
x0-coordinate of center.
x1 (float)
x1-coordinate of center.
a (float)
horizontal semi-axis.
b (float)
vertical semi-axis.
fragments (int)
number of fragments.
a()

Return horizontal semi-axis

b()

Return vertical semi-axis

center()

Return center of ellipse

fragments()

Return number of fragments around the ellipse

thisown

The membership flag