xmsmesh
1.0
|
Helper class for size function smoothing. More...
Public Member Functions | |
bool | CalcMaxSize (double a_length, float a_smoothVal, double &a_maxSize) |
Calculates a max size for use in meiDoSmooth. More... | |
double | CalcMinSize (double a_length, float a_smoothVal, double a_calcMaxSize) |
Calculates a max size for use in meiDoSmooth. More... | |
Public Attributes | |
BSHP< TrTin > | m_tin |
geometry defining connections between points | |
const VecFlt * | m_sizes |
array of size values | |
int | m_anchorType |
anchor to min or max value | |
DynBitset | m_ptsFlag |
flags indicating whether a point should be processed | |
VecFlt * | m_smoothSize |
the output smoothed sizes | |
bool | m_checkMinSize |
flag to indicate that the min size should be checked | |
double | m_sizeRatio |
size ratio value | |
double | m_minSize |
min size | |
double | m_scaleFactor |
scaling factor | |
double | m_percentGrowth |
growth factor | |
double | m_logPercentGrowth |
growth factor | |
double | m_maxSize |
max size used with elevation smoothing | |
Helper class for size function smoothing.
Definition at line 44 of file MeMeshUtils.cpp.
bool xms::SmoothIo::CalcMaxSize | ( | double | a_length, |
float | a_smoothVal, | ||
double & | a_maxSize | ||
) |
Calculates a max size for use in meiDoSmooth.
[in] | a_length | Length between points being considered |
[in] | a_smoothVal | Current size function value at point being evaluated |
[out] | a_maxSize | The max size at the point being evaluated |
Definition at line 91 of file MeMeshUtils.cpp.
References m_checkMinSize, m_logPercentGrowth, m_maxSize, m_percentGrowth, m_scaleFactor, and XM_ENSURE_TRUE.
Referenced by xms::meiDoSmooth().
double xms::SmoothIo::CalcMinSize | ( | double | a_length, |
float | a_smoothVal, | ||
double | a_calcMaxSize | ||
) |
Calculates a max size for use in meiDoSmooth.
[in] | a_length | Length between points being considered |
[in] | a_smoothVal | Current size function value at point being evaluated |
[in] | a_calcMaxSize | The max size calculated at the point being evaluated |
Definition at line 114 of file MeMeshUtils.cpp.
References m_checkMinSize, and m_maxSize.
Referenced by xms::meiDoSmooth().