Base class for Plane and Sphere classes. More...
#include <surface.h>
Public Member Functions | |
Surface () | |
Surface (const Surface &) | |
virtual | ~Surface () |
virtual bool | above_surface (const Point &p) const =0 |
virtual bool | below_surface (const Point &p) const =0 |
virtual bool | on_surface (const Point &p) const =0 |
virtual Point | closest_point (const Point &p) const =0 |
virtual Point | unit_normal (const Point &p) const =0 |
virtual Point | surface_coords (const Point &world_coords) const |
virtual Point | world_coords (const Point &surf_coords) const |
Base class for Plane and Sphere classes.
The base class for all "surface" related geometric objects. A Surface is a two-dimensional object living in three-dimensional space. Examples of Surfaces are planes, hollow spheres, hollow cylinders, etc... This is a generic base class that describes the useful functionality a surface will provide. Specific derived classes actually implement the functionality, so this class has pure virtual members.
|
inline |
|
inline |
|
inlinevirtual |
|
pure virtual |
true
if the point p is above the surface, false otherwise. Implemented in libMesh::Sphere, and libMesh::Plane.
|
pure virtual |
true
if the point p is below the surface, false otherwise. Implemented in libMesh::Sphere, and libMesh::Plane.
Implemented in libMesh::Sphere, and libMesh::Plane.
|
pure virtual |
true
if the point p is on the surface, false otherwise.Implemented in libMesh::Sphere, and libMesh::Plane.
Point
world_coords
in the surface's coordinate system. world_coords
is in the world coordinate system. This method is not purely virtual, because there may be surfaces that do not have their own coordinate system. These simply do not have to override this method. Reimplemented in libMesh::Sphere.
Definition at line 101 of file surface.h.
References world_coords().
Implemented in libMesh::Sphere, and libMesh::Plane.
surf_coords
. This method is not purely virtual, because there may be surfaces that do not have an own coordinate system. These simply do not have to override this method. Reimplemented in libMesh::Sphere.
Definition at line 110 of file surface.h.
Referenced by surface_coords().