fullseye

vertex_normals — 3D mesh_process op

使い方

三角形メッシュの頂点法線(面積重み付きで集約した単位法線)。→ (N,3)。

各三角形の外積ベクトル(=面法線×2·面積)を、その 3 頂点へ散布加算し、頂点ごとに正規化する。 大きい(重要な)面ほど寄与が大きい面積重み付き平均になり、向きは面の巻き順から一貫する。 normals_orient.estimate_normals(点群 PCA・符号未定)と違い、追加の向き付け工程は不要。

Args: mesh: (vertices (N,3), faces (M,3)) のタプル。

Returns: (N,3) の単位頂点法線。

Raises: ValueError: 形状不正・範囲外 index、または法線が定義できない頂点(入射面が無い/ 寄与が相殺してゼロ)があるとき。

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(normals を入力に取れる)

icp_point2plane · compute_fpfh · shot_descriptor · fuse_to_voxel · reflect · refract · normal_consistency · ransac_cylinder

同カテゴリ(mesh_process)

laplacian_smooth · taubin_smooth · decimate_qem · face_normals · mesh_area · vertex_curvature · face_areas · mesh_volume


Provenance: mesh_props.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.