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

Stitch coincident border edges of a surface mesh. More...

#include <easy3d/algo/surface_mesh_stitching.h>

Public Member Functions

 SurfaceMeshStitching (SurfaceMesh *mesh)
 Construct with mesh to be stitched.
 
virtual ~SurfaceMeshStitching ()
 Destructor.
 
void apply (float dist_threshold=1e-6)
 Apply stitching to the surface mesh.
 

Detailed Description

Stitch coincident border edges of a surface mesh.

Deprecated
This class only performs stitching, without reversing the orientation of components having coincident but incompatible boundary cycles. It does the same thing as Surfacer::stitch_borders(). To stitch incompatible boundaries please use Surfacer::merge_reversible_connected_components().

Constructor & Destructor Documentation

◆ SurfaceMeshStitching()

Construct with mesh to be stitched.

Parameters
meshThe surface mesh to be stitched.

Member Function Documentation

◆ apply()

void apply ( float dist_threshold = 1e-6)

Apply stitching to the surface mesh.

Parameters
dist_thresholdThe distance threshold for stitching. Default: 1e-6.

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