Feel++
0.91.4
|
#include <surface.hpp>
Public Member Functions | |
Constructors, destructor | |
Surface () | |
Surface (const Surface &) | |
virtual | ~Surface () |
Methods | |
virtual bool | aboveSurface (const Point &p) const =0 |
virtual bool | belowSurface (const Point &p) const =0 |
virtual bool | onSurface (const Point &p) const =0 |
virtual Point | closestPoint (const Point &p) const =0 |
virtual Point | unitNormal (const Point &p) const =0 |
virtual Point | surfaceCoords (const Point &world_coords) const |
virtual Point | worldCoords (const Point &surf_coords) const |
This class defines a surface. 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 |
Constructor. Does nothing at the moment.
|
inline |
Copy-constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
Implemented in Feel::Sphere.
|
pure virtual |
Implemented in Feel::Sphere.
Implemented in Feel::Sphere.
|
pure virtual |
Implemented in Feel::Sphere.
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 an own coordinate system. These simply do not have to overload this method. Reimplemented in Feel::Sphere.
Implemented in Feel::Sphere.
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 overload this method. Reimplemented in Feel::Sphere.