Easy3D 2.6.1
Loading...
Searching...
No Matches
SurfaceMeshFeatures Class Reference

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.
 

Detailed Description

Detect and mark feature edges based on boundary or dihedral angle.

Constructor & Destructor Documentation

◆ SurfaceMeshFeatures()

SurfaceMeshFeatures ( SurfaceMesh * mesh)
explicit

Construct with mesh to be analyzed.

Parameters
meshThe surface mesh to be analyzed.

Member Function Documentation

◆ clear()

void clear ( )

Clear features.

This function clears all previously detected features.

◆ detect_angle()

void detect_angle ( float angle)

Mark edges with dihedral angle larger than angle as feature.

Parameters
angleThe dihedral angle threshold.

This function detects and marks edges with a dihedral angle larger than the specified angle as feature edges.

◆ detect_boundary()

void detect_boundary ( )

Mark all boundary edges as features.

This function detects and marks all boundary edges of the mesh as feature edges.


The documentation for this class was generated from the following files: