27#ifndef EASY3D_ALGO_SURFACE_MESH_STITCHING_H
28#define EASY3D_ALGO_SURFACE_MESH_STITCHING_H
32#include <easy3d/core/surface_mesh.h>
53 void apply(
float dist_threshold = 1e-6);
63 void borders_in_range(
65 std::vector<SurfaceMesh::Halfedge> &neighbors
72 bool lexicographically_smaller(
const vec3 &p0,
const vec3 &p1)
const;
79 std::vector<SurfaceMesh::Halfedge> border_edges_;
86 int k_for_radius_search_;
A halfedge data structure for polygonal meshes of 2-manifold.
Definition: surface_mesh.h:52
Stitch coincident border edges of a surface mesh.
Definition: surface_mesh_stitching.h:47
Definition: collider.cpp:182
Definition: surface_mesh.h:114