fit_circle_3d — 3D geometry op

데이터 종류: pointsprimitive

호출: import fullseye as fs; fs.ledger.fit_circle_3d(points)(구현을 직접 호출하려면 import match3d; match3d.fit_circle_3d(points), 원장에서 가져오려면 ops3d.get("fit_circle_3d"))

사용법

점군 → 3D 원(평면 적합 → 면 안에서 2D 원 적합). 반환값 (center, radius, normal).

> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.

`fit_plane_3d で面 (c, n) を取り、面内の正規直交基底 (e1, e2)` に点を射影して 2-D の

代数円フィット(`|q|² = 2·cc·q + klstsq)を解き、中心を 3-D に戻す。(N,3)` で

3 点未満は ValueError(3 点なら面は厳密、円は 3 点を通る)。

`center は面上の 3-D 点、radius は float(負の根は 0 に clamp)、normal` は面の単位法線

(符号任意)。円弧の一部だけ・面から外れた点が多いと半径が偏る(代数フィットの性質。面内残差は

返さない)。

用途: 穴・フランジ・リングの中心と径、`distance_point_line` で軸からの偏心。

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

geometry_metrologypy -3.11 examples_3d/geometry_metrology.py

타입이 이어지는 다음 연산자(primitive 를 입력으로 받는 것)

fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment

같은 카테고리(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: match3d.py — 3D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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