#include <poly_Mesh.h>
|
static mobiusPoly_EXPORT void | ComputeCenter (const t_xyz &v0, const t_xyz &v1, const t_xyz &v2, t_xyz ¢er) |
|
static mobiusPoly_EXPORT bool | ComputeNormal (const t_xyz &v0, const t_xyz &v1, const t_xyz &v2, t_xyz &norm) |
|
static mobiusPoly_EXPORT double | ComputeArea (const t_xyz &v0, const t_xyz &v1, const t_xyz &v2) |
|
static mobiusPoly_EXPORT bool | ComputePyramidProps (const t_xyz &v0, const t_xyz &v1, const t_xyz &v2, const core_XYZ &apex, double gProps[10], const int nbPnts, const double *pnts) |
|
◆ ComputeArea()
static mobiusPoly_EXPORT double mobius::poly_MeshUtils::ComputeArea |
( |
const t_xyz & |
v0, |
|
|
const t_xyz & |
v1, |
|
|
const t_xyz & |
v2 |
|
) |
| |
|
static |
Computes area for the passed triangle nodes.
- Parameters
-
[in] | hv0 | the first vertex. |
[in] | hv1 | the second vertex. |
[in] | hv2 | the third vertex. |
- Returns
- the computed area.
◆ ComputeCenter()
static mobiusPoly_EXPORT void mobius::poly_MeshUtils::ComputeCenter |
( |
const t_xyz & |
v0, |
|
|
const t_xyz & |
v1, |
|
|
const t_xyz & |
v2, |
|
|
t_xyz & |
center |
|
) |
| |
|
static |
Computes center for the passed triple of vertices.
- Parameters
-
[in] | v0 | the first vertex. |
[in] | v1 | the second vertex. |
[in] | v2 | the third vertex. |
[out] | center | the computed center point. |
◆ ComputeNormal()
static mobiusPoly_EXPORT bool mobius::poly_MeshUtils::ComputeNormal |
( |
const t_xyz & |
v0, |
|
|
const t_xyz & |
v1, |
|
|
const t_xyz & |
v2, |
|
|
t_xyz & |
norm |
|
) |
| |
|
static |
Computes normal vector for the passed triple of vertices.
- Parameters
-
[in] | v0 | the first vertex. |
[in] | v1 | the second vertex. |
[in] | v2 | the third vertex. |
[out] | norm | the computed normal vector. |
- Returns
- true if the normal vector was computed successfully, false – otherwise.
◆ ComputePyramidProps()
static mobiusPoly_EXPORT bool mobius::poly_MeshUtils::ComputePyramidProps |
( |
const t_xyz & |
v0, |
|
|
const t_xyz & |
v1, |
|
|
const t_xyz & |
v2, |
|
|
const core_XYZ & |
apex, |
|
|
double |
gProps[10], |
|
|
const int |
nbPnts, |
|
|
const double * |
pnts |
|
) |
| |
|
static |
Auxiliary method to compute intertia props from a volumetric element enclosed by a surface mesh.
The documentation for this class was generated from the following file: