# Box¶

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

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

Create box defined by two opposite corners x = (x0, x1, x2) and y = (y0, y1, y2).

Arguments
x0 (float)
x0-coordinate of first corner.
x1 (float)
x1-coordinate of first corner.
x2 (float)
x2-coordinate of first corner.
y0 (float)
y0-coordinate of second corner.
y1 (float)
y1-coordinate of second corner.
y2 (float)
y2-coordinate of second corner.
thisown

The membership flag