Acet-geom-point-scale

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(acet-geom-point-scale toPoint fromPoint scale)


機能
fromPoint から toPoint へのベクトルを scale でスケーリングして作成し、fromPoint に適用した点を返す。


引数
  • toPoint … ベクトル先の座標点リスト
  • fromPoint … ベクトル元の座標点リスト
  • scale … 倍率。NIL の場合、1.0 が使用される。


戻り値
スケーリングされた座標点リスト


サンプル
(acet-geom-point-scale  '(100 500) '(0 0 0) 1.5))
(150.0 750.0 0.0)


関連事項