geometry op• 데이터 종류: points → primitive
• 호출: import fullseye as fs; fs.ledger.plane_from_3points(a, b, c)(구현을 직접 호출하려면 import match3d; match3d.plane_from_3points(a, b, c), 원장에서 가져오려면 ops3d.get("plane_from_3points"))
3 점 → 평면(통과점, 단위 법선). 3 좌표로 면이 정해집니다(2D/3D 공통).
반환값 (a, n): a는 1 번째 점, n은 n = (b−a)×(c−a)를 단위화한 것(방향은 a→b→c의오른나사). 인수는 수치의 2 또는 3 벡터(그 외·차원 혼재는 ValueError). 3 점이 동일직선 위에 있으면 n은 영벡터인 채로 반환된다(예외는 나지 않는다). 2 차원의 점을 넘기면 np.cross가 스칼라(부호 있는 면적의 2 배)를 반환하므로, n은 벡터가아니라 ±1의 스칼라가 된다. 2-D에서 선의 법선이 필요하면 line_from_2points의 방향을 90° 돌려서 쓸 것.
후단: distance_point_plane / intersect_line_plane / intersect_planes / angle_between_planes에 이 (a, n)을 넘긴다. 점군에서는 fit_plane_3d.
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• geometry_metrology — py -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 · angle_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line
*Provenance: match3d.py — 3D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.