Represent FEM-like element (right triangular prism) in ExtrudedTriangularMesh3D.
More...
#include <plask/mesh/extruded_triangular3d.hpp>
Represent FEM-like element (right triangular prism) in ExtrudedTriangularMesh3D.
Definition at line 42 of file extruded_triangular3d.hpp.
◆ Element() [1/2]
◆ Element() [2/2]
◆ contains()
bool plask::ExtrudedTriangularMesh3D::Element::contains |
( |
Vec< 3, double > |
p | ) |
const |
Check if point p
is included in this
element.
- Parameters
-
- Returns
true
only if p
is included in this
Definition at line 56 of file extruded_triangular3d.cpp.
◆ getArea()
double plask::ExtrudedTriangularMesh3D::Element::getArea |
( |
| ) |
const |
|
inline |
Get volume of the prism represented by this element.
- Returns
- the volume of the element
Definition at line 110 of file extruded_triangular3d.hpp.
◆ getBaseArea()
double plask::ExtrudedTriangularMesh3D::Element::getBaseArea |
( |
| ) |
const |
|
inline |
Get area of the prism base (which is a triangle).
- Returns
- the area of the prism base
Definition at line 97 of file extruded_triangular3d.hpp.
◆ getBottomNode()
Vec< 3, double > plask::ExtrudedTriangularMesh3D::Element::getBottomNode |
( |
std::size_t |
bottom_triangle_node_nr | ) |
const |
|
inline |
Get coordinates of the bottom base (triangle) vertex.
- Parameters
-
index | index of vertex in the triangle; equals to 0, 1 or 2 |
- Returns
- coordinates of the bottom base vertex
Definition at line 77 of file extruded_triangular3d.hpp.
◆ getBottomNodeIndex()
std::size_t plask::ExtrudedTriangularMesh3D::Element::getBottomNodeIndex |
( |
std::size_t |
bottom_triangle_node_nr | ) |
const |
|
inline |
Get mesh index of vertex of the bottom triangle.
- Parameters
-
bottom_triangle_node_nr | index of vertex in the triangle; equals to 0, 1 or 2 |
- Returns
- mesh index of vertex of the bottom triangle
Definition at line 59 of file extruded_triangular3d.hpp.
◆ getBoundingBox()
Box3D plask::ExtrudedTriangularMesh3D::Element::getBoundingBox |
( |
| ) |
const |
◆ getHeight()
double plask::ExtrudedTriangularMesh3D::Element::getHeight |
( |
| ) |
const |
|
inline |
◆ getIndex()
std::size_t plask::ExtrudedTriangularMesh3D::Element::getIndex |
( |
| ) |
const |
|
inline |
◆ getMidpoint()
Vec< 3, double > plask::ExtrudedTriangularMesh3D::Element::getMidpoint |
( |
| ) |
const |
◆ getTopNode()
Vec< 3, double > plask::ExtrudedTriangularMesh3D::Element::getTopNode |
( |
std::size_t |
bottom_triangle_node_nr | ) |
const |
|
inline |
Get coordinates of the top base (triangle) vertex.
- Parameters
-
index | index of vertex in the triangle; equals to 0, 1 or 2 |
- Returns
- coordinates of the top base vertex
Definition at line 86 of file extruded_triangular3d.hpp.
◆ getTopNodeIndex()
std::size_t plask::ExtrudedTriangularMesh3D::Element::getTopNodeIndex |
( |
std::size_t |
top_triangle_node_nr | ) |
const |
|
inline |
Get mesh index of vertex of the top triangle.
- Parameters
-
top_triangle_node_nr | index of vertex in the triangle; equals to 0, 1 or 2 |
- Returns
- mesh index of vertex of the top triangle
Definition at line 68 of file extruded_triangular3d.hpp.
◆ getVolume()
double plask::ExtrudedTriangularMesh3D::Element::getVolume |
( |
| ) |
const |
|
inline |
◆ longTranIndex
std::size_t plask::ExtrudedTriangularMesh3D::Element::longTranIndex |
◆ mesh
◆ vertIndex
std::size_t plask::ExtrudedTriangularMesh3D::Element::vertIndex |
The documentation for this struct was generated from the following files: