Go to the documentation of this file.
23 #include "libmesh/plane.h"
85 const Point e0 = p1 - p0;
86 const Point e1 = p2 - p0;
96 const Point p (0., 0., zpos);
97 const Point n (0., 0., 1.);
107 const Point p (0., ypos, 0.);
108 const Point n (0., 1., 0.);
118 const Point p (xpos, 0., 0.);
119 const Point n (1., 0., 0.);
Plane()
Dummy Constructor.
virtual Point closest_point(const Point &p) const override
virtual bool below_surface(const Point &p) const override
This class defines a plane.
The libMesh namespace provides an interface to certain functionality in the library.
The base class for all "surface" related geometric objects.
MetaPhysicL::DualNumber< T, D > abs(const MetaPhysicL::DualNumber< T, D > &in)
virtual bool on_surface(const Point &p) const override
void xz_plane(const Real ypos=0.)
Creates an XZ plane located at y=ypos.
virtual Point unit_normal(const Point &p) const override
void create_from_point_normal(const Point &p, const Point &n)
Defines a plane containing point p with normal n.
Point _point
The plane is defined by a point and a normal.
A Point defines a location in LIBMESH_DIM dimensional Real space.
const Point & normal() const
const Point & get_planar_point() const
TypeVector< T > unit() const
void create_from_three_points(const Point &p0, const Point &p1, const Point &p2)
Defines a plane intersecting the three points p0, p1, and p2.
void xy_plane(const Real zpos=0.)
Creates an XY plane located at z=zpos.
TypeVector< typename CompareTypes< T, T2 >::supertype > cross(const TypeVector< T2 > &v) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual bool above_surface(const Point &p) const override
void yz_plane(const Real xpos=0.)
Creates an YZ plane located at x=xpos.