Wiki

Clone wiki

mshr / API / Cone

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

mshr::Cone

A 3D cone. A cone is here just a special case of a cylinder.

Public functions

Cone(dolfin::Point top, dolfin::Point bottom, double r, std::size_t segments=32)

Create cone defined by upper and lower center and bottom radius respectively.

Parameters| |
----------|-------------|----------------------------------------------------------------------- top |dolfin::Point|Center at top of cone.
bottom |dolfin::Point|Center at top of cone.
r |double |bottom radius of cone.
segments |std::size_t |number of faces on the side when generating a polyhedral approximation.

Updated