fullseye

fit_surface_principal_axes — 3D geometry op

使い方

斜めの反った面を PCA 主軸へ回してから多項式 z'=f(x',y') を当てはめる。

The two largest principal axes span the local x/y plane and the smallest is local z. Returns center, row-vector axes, monomial powers, coefficients, local and original-frame fitted_points, unit normal at the centroid, and gradient-normalised geometric rms. degree is the total polynomial degree. A cloud whose two largest variances differ by less than isotropy_ratio is rejected because its in-plane principal directions are not identifiable. For degree one the returned normal agrees with :func:fit_plane3 up to sign.

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

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

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

fuse_to_voxel · mesh_select_lod

同カテゴリ(geometry)

line_from_2points · plane_from_3points · angle_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line


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

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