The ReferenceLineInfo class defines the information about the reference line.
More...
|
double | evalLength (const std::array< double, 3 > *vertexCoords) const override |
|
std::array< double, 3 > | evalNormal (const std::array< double, 3 > *vertexCoords, const std::array< double, 3 > &orientation={{0., 0., 1.}}, const std::array< double, 3 > &point={{0.5, 0.5, 0.5}}) 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 ReferenceLineInfo class defines the information about the reference line.
Definition at line 304 of file element_reference.hpp.
◆ ReferenceLineInfo()
bitpit::ReferenceLineInfo::ReferenceLineInfo |
( |
| ) |
|
|
protected |
◆ evalLength()
double bitpit::ReferenceLineInfo::evalLength |
( |
const std::array< double, 3 > * | vertexCoords | ) |
const |
|
overridevirtual |
◆ evalNormal()
std::array< double, 3 > bitpit::ReferenceLineInfo::evalNormal |
( |
const std::array< double, 3 > * | vertexCoords, |
|
|
const std::array< double, 3 > & | orientation = {{0., 0., 1.}}, |
|
|
const std::array< double, 3 > & | point = {{0.5, 0.5, 0.5}} ) const |
|
overridevirtual |
Evaluates the normal of an element with the specified vertex coordinates.
- Parameters
-
vertexCoords | are the coordinate of the vertices |
orientation | is a vector perpendicular to the plane where the normal should lie |
point | are the element reference coordinates of the point where the normal should be evaluated |
- Returns
- The normal of the element.
Implements bitpit::Reference1DElementInfo.
Definition at line 1755 of file element_reference.cpp.
◆ evalPointDistance()
double bitpit::ReferenceLineInfo::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 1794 of file element_reference.cpp.
◆ evalPointProjection()
void bitpit::ReferenceLineInfo::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 1778 of file element_reference.cpp.
◆ evalSize()
double bitpit::ReferenceLineInfo::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 1724 of file element_reference.cpp.
◆ ReferenceElementInfo
◆ ReferenceHexahedronInfo
◆ ReferencePixelInfo
◆ ReferencePyramidInfo
◆ ReferenceQuadInfo
◆ ReferenceTetraInfo
◆ ReferenceTriangleInfo
◆ ReferenceVoxelInfo
◆ ReferenceWedgeInfo
◆ info
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---