Acet-geom-arc-d-angle

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(acet-geom-arc-d-angle center p1 p2 )


機能
中心点 center->p1 ベクトルと 中心点 center->p2 ベクトル間の角度を返す。角度の単位はラジアン。


引数
  • Center … 中心点の3D点リスト
  • p1 … 3D点リスト
  • p2 … 3D点リスト


戻り値
角度のラジアン値


サンプル
Acet-geom-arc-d-angle の角度取得イメージ
Acet-geom-arc-d-angle の角度取得イメージ
(setq center (getpoint) p1 (getpoint) p2 (getpoint) )
(setq rad (acet-geom-arc-d-angle center p1 p2))
(gz:rad->deg rad)
53.2492486830416


関連事項