fullseye

angles_to_normals — REPRCONV direction op

使い方

方位・仰角の対 (N,2) [度] → 単位法線 (N,3)pairs の出口。

:func:normals_to_angles の厳密な逆(単位長に正規化した意味で)。 仰角は [-90, 90] の外を拒否する —— 100 度の仰角は「反対側の 80 度」に 折り返してもっともらしく間違うので、黙って受けない。

Args: pairs: (N, 2) [方位度, 仰角度]、または 2 本の等長 1-D のタプル。 Returns: (N, 3) float64、行ごとに単位長。 Raises: ValueError: 形状不正 / 非有限 / 仰角が [-90, 90] 外。

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

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

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

normals_to_angles · normals_to_egi

同カテゴリ(direction)

normals_to_angles · normals_to_egi


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

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