Files
ViewDesignEngine/include/vde/mesh/mesh_parameterize.h
T
ViewDesignEngine 2c4387aba5
CI / Build & Test (push) Failing after 16m49s
CI / Release Build (push) Failing after 38s
feat: P2 Alpha Shapes + 网格参数化
- mesh: Alpha Shapes (点云→表面)
- mesh: Tutte 嵌入参数化
- mesh: LSCM 保角参数化
- 新增 4 文件,更新 CMake
2026-07-23 07:20:01 +00:00

17 lines
596 B
C++

#pragma once
#include "vde/mesh/halfedge_mesh.h"
#include "vde/core/point.h"
#include <vector>
namespace vde::mesh {
/// Tutte embedding (harmonic parameterization) for a mesh with fixed boundary
/// Boundary vertices are mapped to a circle; interior vertices are solved via Laplacian
/// Returns per-vertex UV coordinates as Point2D
[[nodiscard]] std::vector<Point2D> tutte_parameterization(const HalfedgeMesh& mesh);
/// LSCM (Least Squares Conformal Maps) — simplified version
[[nodiscard]] std::vector<Point2D> lscm_parameterization(const HalfedgeMesh& mesh);
} // namespace vde::mesh