boundary_vertices — 3D mesh_process op

資料種類:meshindices

呼叫: import fullseye as fs; fs.ledger.boundary_vertices(mesh) -> 'np.ndarray'(要直接呼叫實作,import mesh_props; mesh_props.boundary_vertices(mesh) -> 'np.ndarray';從台帳取用則 ops3d.get("boundary_vertices"))

用法

> 該運算子的說明尚無譯文,以下照原文給出。

開いた縁(境界)に乗っている頂点の index → `(K,)`。

無向辺のうちちょうど 1 つの面にしか使われていない辺(境界辺)の端点を集めて

返す。閉じた多様体なら空配列 —— つまり `len(boundary_vertices(mesh)) == 0` が

水密性(watertight)の判定になる。穴埋め・体積計算・曲率のどれも、境界の

有無で意味が変わるので、先にここを見る。

Args:

mesh: `(vertices (N,3), faces (M,3))` のタプル。

Returns:

昇順・重複なしの `(K,) int64。境界が無ければ shape == (0,)`。

Raises:

ValueError: `mesh(vertices, faces)` の 2 要素でない、形状不正、

非有限座標、非整数・範囲外の index、空のとき。

限界(honest): 返るのは頂点の集合で、縁のループ(周回順)ではない

穴が複数あっても 1 つの配列にまとまるので、穴ごとに分けたいなら連結成分を

自分で辿ることになる(ループ抽出の op はまだ無い)。3 つ以上の面が共有する

非多様体辺はここには出ない(`mesh_edge_statsnon_manifold_edges`)。

背景知識指南(該運算子背後的物理與規範)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

mesh_decimatepy -3.11 examples_3d/mesh_decimate.py

mesh_propspy -3.11 examples_3d/mesh_props.py

型別可銜接的下一個運算子(可接受 indices 作為輸入)

fuse_to_voxel

同類別(mesh_process)

laplacian_smooth · taubin_smooth · decimate_qem · face_normals · vertex_normals · mesh_area · vertex_curvature · face_areas


*Provenance: mesh_props.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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