Wiki

Clone wiki

mshr / API / Ellipsoid

dolfin::Variable > mshr::CSGGeometry > mshr::CSGPrimitive > mshr::CSGPrimitive3D

mshr::Ellipsoid

An axis-aligned ellipsoid.

Public functions

Ellipsoid(dolfin::Point center, double a, double b, double c, std::size_t segments=15)

Create axis aligned ellipsoid.

Parameters| |
----------|-------------|---------------------------------------------------- center |dolfin::Point|the center
a |double |semi-principal axis in x direction
b |double |semi-principal axis in y direction
c |double |semi-principal axis in z direction
segments |std::size_t |resolution when generating a polyhedral appoximation

std::string str(bool verbose) const

Informal string representation.

Parameters
verbose bool

Type getType() const

Updated