Easy3D 2.6.1
|
Detect and mark feature edges based on boundary or dihedral angle. More...
#include <easy3d/algo/surface_mesh_features.h>
Public Member Functions | |
SurfaceMeshFeatures (SurfaceMesh *mesh) | |
Construct with mesh to be analyzed. | |
void | clear () |
Clear features. | |
void | detect_boundary () |
Mark all boundary edges as features. | |
void | detect_angle (float angle) |
Mark edges with dihedral angle larger than angle as feature. | |
Detect and mark feature edges based on boundary or dihedral angle.
|
explicit |
Construct with mesh to be analyzed.
mesh | The surface mesh to be analyzed. |
void clear | ( | ) |
Clear features.
This function clears all previously detected features.
void detect_angle | ( | float | angle | ) |
Mark edges with dihedral angle larger than angle
as feature.
angle | The dihedral angle threshold. |
This function detects and marks edges with a dihedral angle larger than the specified angle as feature edges.
void detect_boundary | ( | ) |
Mark all boundary edges as features.
This function detects and marks all boundary edges of the mesh as feature edges.