14#include "libmesh/point.h"
34 CSGZCylinder(
const std::string & name,
const Real x0,
const Real y0,
const Real r);
47 virtual std::unordered_map<std::string, Real>
getCoeffs()
const override;
63 virtual std::unique_ptr<CSGSurface>
clone()
const override
CSGSurface creates an internal representation of a Constructive Solid Geometry (CSG) surface,...
std::string _name
Name of surface.
CSGZCylinder creates an internal representation of a Constructive Solid Geometry (CSG) z-axis aligned...
Real _x0
Value of x0 in equation of an z-axis aligned cylinder.
virtual std::unordered_map< std::string, Real > getCoeffs() const override
Get the coefficients (x0, y0, and r) that define the cylindrical surface with the equation: (x - x0)^...
virtual ~CSGZCylinder()=default
Destructor.
virtual std::unique_ptr< CSGSurface > clone() const override
create clone of CSGZCylinder object
Real _y0
Value of y0 in equation of an z-axis aligned cylinder.
virtual Real evaluateSurfaceEquationAtPoint(const Point &p) const override
given a point, determine its evaluation based on the equation of the cylinder
Real _r
Value of r in equation of an z-axis aligned cylinder.