#include <MeshFlatteningLscmRelax.h>
Public Member Functions | |
void area_relax (double) | |
void edge_relax (double) | |
double get_area () | |
double get_flat_area () | |
ColMat< double, 3 > get_flat_vertices_3D () | |
void lscm () | |
LscmRelax () | |
LscmRelax (RowMat< double, 3 > vertices, RowMat< long, 3 > triangles, std::vector< long > fixed_pins) | |
void relax (double) | |
void rotate_by_min_bound_area () | |
void transform (bool scale=false) | |
Public Attributes | |
double elasticity =1. | |
std::vector< long > fixed_pins | |
RowMat< double, 2 > flat_vertices | |
Eigen::MatrixXd MATRIX | |
double nue =0.9 | |
ColMat< double, 1 > rhs | |
RowMat< long, 3 > triangles | |
RowMat< double, 3 > vertices | |
Constructor & Destructor Documentation
◆ LscmRelax() [1/2]
lscmrelax::LscmRelax::LscmRelax | ( | ) |
◆ LscmRelax() [2/2]
lscmrelax::LscmRelax::LscmRelax | ( | RowMat< double, 3 > | vertices, |
RowMat< long, 3 > | triangles, | ||
std::vector< long > | fixed_pins | ||
) |
References elasticity, fixed_pins, flat_vertices, nue, triangles, and vertices.
Member Function Documentation
◆ area_relax()
void lscmrelax::LscmRelax::area_relax | ( | double | weight | ) |
References flat_vertices, rhs, triangles, and vertices.
◆ edge_relax()
void lscmrelax::LscmRelax::edge_relax | ( | double | weight | ) |
References flat_vertices, rhs, triangles, and vertices.
◆ get_area()
double lscmrelax::LscmRelax::get_area | ( | ) |
References triangles.
◆ get_flat_area()
double lscmrelax::LscmRelax::get_flat_area | ( | ) |
References triangles.
◆ get_flat_vertices_3D()
ColMat< double, 3 > lscmrelax::LscmRelax::get_flat_vertices_3D | ( | ) |
References flat_vertices.
◆ lscm()
void lscmrelax::LscmRelax::lscm | ( | ) |
References fixed_pins, flat_vertices, rhs, transform(), triangles, and vertices.
Referenced by FaceUnwrapper::findFlatNodes().
◆ relax()
void lscmrelax::LscmRelax::relax | ( | double | weight | ) |
References flat_vertices, rhs, triangles, and vertices.
Referenced by FaceUnwrapper::findFlatNodes().
◆ rotate_by_min_bound_area()
void lscmrelax::LscmRelax::rotate_by_min_bound_area | ( | ) |
References flat_vertices.
◆ transform()
void lscmrelax::LscmRelax::transform | ( | bool | scale = false | ) |
References flat_vertices, and triangles.
Referenced by lscm().
Member Data Documentation
◆ elasticity
double lscmrelax::LscmRelax::elasticity =1. |
Referenced by LscmRelax().
◆ fixed_pins
std::vector<long> lscmrelax::LscmRelax::fixed_pins |
Referenced by lscm(), and LscmRelax().
◆ flat_vertices
RowMat<double, 2> lscmrelax::LscmRelax::flat_vertices |
Referenced by area_relax(), edge_relax(), FaceUnwrapper::findFlatNodes(), get_flat_vertices_3D(), lscm(), LscmRelax(), relax(), rotate_by_min_bound_area(), and transform().
◆ MATRIX
Eigen::MatrixXd lscmrelax::LscmRelax::MATRIX |
◆ nue
double lscmrelax::LscmRelax::nue =0.9 |
Referenced by LscmRelax().
◆ rhs
ColMat<double, 1> lscmrelax::LscmRelax::rhs |
Referenced by area_relax(), edge_relax(), lscm(), and relax().
◆ triangles
RowMat<long, 3> lscmrelax::LscmRelax::triangles |
Referenced by area_relax(), edge_relax(), get_area(), get_flat_area(), lscm(), LscmRelax(), relax(), and transform().
◆ vertices
RowMat<double, 3> lscmrelax::LscmRelax::vertices |
Referenced by area_relax(), edge_relax(), lscm(), LscmRelax(), and relax().
The documentation for this class was generated from the following files:
- src/Mod/MeshPart/App/MeshFlatteningLscmRelax.h
- src/Mod/MeshPart/App/MeshFlatteningLscmRelax.cpp