The ReferenceVertexInfo class defines the information about the reference vertex.
More...
|
std::array< double, 3 > | evalNormal (const std::array< double, 3 > *vertexCoords, const std::array< double, 3 > &orientation={{1., 0., 0.}}) const override |
|
double | evalPointDistance (const std::array< double, 3 > &point, const std::array< double, 3 > *vertexCoords) const override |
|
void | evalPointProjection (const std::array< double, 3 > &point, const std::array< double, 3 > *vertexCoords, std::array< double, 3 > *projection, double *distance) const override |
|
double | evalSize (const std::array< double, 3 > *vertexCoords) const override |
|
The ReferenceVertexInfo class defines the information about the reference vertex.
Definition at line 346 of file element_reference.hpp.
◆ ReferenceVertexInfo()
bitpit::ReferenceVertexInfo::ReferenceVertexInfo |
( |
| ) |
|
|
protected |
◆ evalNormal()
std::array< double, 3 > bitpit::ReferenceVertexInfo::evalNormal |
( |
const std::array< double, 3 > * | vertexCoords, |
|
|
const std::array< double, 3 > & | orientation = {{1., 0., 0.}} ) const |
|
overridevirtual |
Evaluates the normal of an element with the specified vertex coordinates.
For a vertex it makes no sense to evaluate a normal, this is only a dummy function that returns the direction that receives in input.
- Parameters
-
vertexCoords | are the coordinate of the vertices |
orientation | is a vector that specifies the direction of the normal |
- Returns
- The normal of the element.
Implements bitpit::Reference0DElementInfo.
Definition at line 1882 of file element_reference.cpp.
◆ evalPointDistance()
double bitpit::ReferenceVertexInfo::evalPointDistance |
( |
const std::array< double, 3 > & | point, |
|
|
const std::array< double, 3 > * | vertexCoords ) const |
|
overridevirtual |
Evaluates the distance between the element and the specified point.
- Parameters
-
[in] | point | is the point |
| vertexCoords | are the coordinate of the vertices |
- Returns
- The distance between the element and the specified point.
Implements bitpit::ReferenceElementInfo.
Definition at line 1916 of file element_reference.cpp.
◆ evalPointProjection()
void bitpit::ReferenceVertexInfo::evalPointProjection |
( |
const std::array< double, 3 > & | point, |
|
|
const std::array< double, 3 > * | vertexCoords, |
|
|
std::array< double, 3 > * | projection, |
|
|
double * | distance ) const |
|
overridevirtual |
Evaluates the projection of the point on the element.
- Parameters
-
| point | is the point |
| vertexCoords | are the coordinate of the vertices |
[out] | projection | on output contains the projection point |
[out] | distance | on output contains the distance between the point and the projection |
Implements bitpit::ReferenceElementInfo.
Definition at line 1902 of file element_reference.cpp.
◆ evalSize()
double bitpit::ReferenceVertexInfo::evalSize |
( |
const std::array< double, 3 > * | vertexCoords | ) |
const |
|
overridevirtual |
Evaluates the characteristics size of an element with the specified vertex coordinates.
- Parameters
-
vertexCoords | are the coordinate of the vertices |
- Returns
- The length of the element.
Implements bitpit::ReferenceElementInfo.
Definition at line 1865 of file element_reference.cpp.
◆ ReferenceElementInfo
◆ ReferenceLineInfo
◆ ReferencePixelInfo
◆ ReferenceQuadInfo
◆ ReferenceTriangleInfo
◆ info
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---