14 #include "libmesh/point.h" 34 CSGPlane(
const std::string &
name,
const Point & p1,
const Point & p2,
const Point & p3);
59 virtual std::unordered_map<std::string, Real>
getCoeffs()
const override;
virtual Real evaluateSurfaceEquationAtPoint(const Point &p) const override
given a point, determine its evaluation based on the equation of the plane
std::string name(const ElemQuality q)
Real _a
Value of a in equation of plane.
CSGPlane creates an internal representation of a Constructive Solid Geometry (CSG) plane...
CSGPlane(const std::string &name, const Point &p1, const Point &p2, const Point &p3)
Construct a new CSGPlane surface from three non co-linear points.
virtual ~CSGPlane()=default
Destructor.
Real _b
Value of b in equation of plane.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _d
Value of d in equation of plane.
CSGSurface creates an internal representation of a Constructive Solid Geometry (CSG) surface...
Real _c
Value of c in equation of plane.
void coeffsFromPoints(const Point &p1, const Point &p2, const Point &p3)
virtual std::unordered_map< std::string, Real > getCoeffs() const override
get coefficients (a, b, c, d) of the Plane aX + bY + cZ = d