CSGGeometry.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class CSGGeometry

Parent class(es)

Geometry described by Constructive Solid Geometry (CSG)

CSGGeometry()

Constructor

std::size_t dim() const = 0

Return dimension of geometry

std::string str(bool verbose) const = 0

Informal string representation

void set_subdomain(std::size_t i, std::shared_ptr<CSGGeometry> s)

Define subdomain. This feature is 2D only. The subdomain is itself a CSGGeometry and the corresponding cells in the resulting will be marked with i If subdomains overlap, the latest added will take precedence.