terrain op• 데이터 종류: mesh → signal
• 호출: import fullseye as fs; fs.ledger.mesh_edge_lengths(V, F, *, per: 'str' = 'vertex') -> 'np.ndarray'(구현을 직접 호출하려면 import render3d; render3d.mesh_edge_lengths(V, F, *, per: 'str' = 'vertex') -> 'np.ndarray', 원장에서 가져오려면 ops3d.get("mesh_edge_lengths"))
삼각형 메시의 국소 엣지 길이 → 정점별 `(N,)`(접속 엣지의 평균).
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
`(M,) per face (mean of its 3 edges) or (E,)` per unique edge.
This is the resolution map of the mesh in its own units: the shortest wavelength a
region can carry as *geometry* is about twice the local edge (Nyquist), which is what
:func:mesh_subdivide (`target_edge) and :func:displacement_band_weights` use.
Deterministic; fail-closed on degenerate meshes / unknown `per`.
無向の一意な辺 `(E,2)` を取り、各辺の長さ(メッシュ単位、float64)を集計する。
• `per='vertex': 頂点に接する辺長の平均 (N,)`。どの面にも属さない孤立頂点は
辺を持たないので、無言で 全辺の平均値 が入る(ゼロにはならない)。
• `per='face': 面の 3 辺の平均 (M,)`。
• `per='edge': 一意辺そのものの長さ (E,)。辺の並びは np.unique` の辞書順
(頂点 index の小さい順)で、`F` の順とは対応しない。
`per が上記 3 つ以外、頂点/面が空、face index 範囲外、非有限座標は ValueError`。
`displacement_band_weights の local_edge や mesh_subdivide` の
`target_edge` を決める(例: 中央値の半分)ために使う。
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• itokawa_regolith_hero — py -3.11 examples_3d/itokawa_regolith_hero.py
signal 를 입력으로 받는 것)terrain)mesh_displace_fbm · terrain_region_mask · mesh_scatter_boulders · mesh_subdivide · displacement_band_weights · mesh_displace_spectrum · bump_normals_fbm
*Provenance: render3d.py — 3D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.