fullseye

mesh_area — 3D mesh_process op

使い方

三角形メッシュの表面積(全三角形面積の総和)。→ float。

面積 = Σ 0.5·|cross(v1−v0, v2−v0)|。頂点数に定数を掛ける素朴な近似ではなく、実際の面の 大きさを積算するので、メッシュのスケール・形状に正しく追随する。

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

Returns: 表面積(非負の float)。

Raises: ValueError: mesh が (vertices, faces) の 2 要素でない、形状不正、非有限座標、非整数・ 範囲外の index、空、または 3 頂点のどれかが同じ index の三角形があるとき。

注意: face_normals と違い、座標がほぼ一直線に並んだ退化三角形(面積 0)は拒否せず 0 として 加算する。重複面や表裏 2 枚張りの面はそのまま 2 回数えられる。単位は座標の単位の 2 乗。

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

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

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

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

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

同カテゴリ(mesh_process)

laplacian_smooth · taubin_smooth · decimate_qem · face_normals · vertex_normals · 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.