Unshared edge を 抽出する
2022-06-12 #Blog #SopJoy
https://gyazo.com/e0421d6755e2f90e1428dd058ca7daa9
Unshared edge を取得する方法
Group SOP
https://gyazo.com/79b62030a1940a7652d58760855c2b39
Group Create SOP.iconGroup Create SOP で上記のような設定とする
VEX
code:vlf.h
// Run Over: Vertices
int hedge = vertexhedge(0, @vtxnum);
if (hedge_equivcount(0, hedge) == 1)
{
// Unshared edges here
// ...
}
vertexhedge VEX function を使用することで Vertex が所属している Half-edge の index を取得
hedge_equivcount VEX function を使用することで同じトポロジの harf-edge の数が取得できる
これが 1 の場合 Unshared edge となる