#include <singularSet.hh>
Public Member Functions | |
SingularVertex (const concepts::Connector0 *vertex, const concepts::Real3d vtx0) | |
const concepts::Connector0 * | vertex () const |
Returns a pointer to the vertex object (topological, connector) | |
Real | distance (concepts::Real3d point) const |
Real | distance (concepts::Real3d point, const Hexahedron *elm) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SingularVertex &s) |
Class for storing a singular vertex with the coordinates. The class also provides methods to compute a distance from a given point (in local coordinates in an element) to the vertex. The returned results are the Euclidiean distance squared.
Definition at line 104 of file singularSet.hh.
|
inline |
Constructor.
vertex | Vertex object |
vtx0 | Coordinates of the vertex |
Definition at line 111 of file singularSet.hh.
Real hp3D::SingularVertex::distance | ( | concepts::Real3d | point | ) | const |
Returns the square of the distance from the vertex to the point
(in physical coordinates)
Real hp3D::SingularVertex::distance | ( | concepts::Real3d | point, |
const Hexahedron * | elm | ||
) | const |
Returns the distance from the vertex to a point
inside an Hexahedron (point in reference coordinates)
|
inline |
Returns a pointer to the vertex object (topological, connector)
Definition at line 115 of file singularSet.hh.