タグ

2009年3月7日のブックマーク (2件)

  • 回転行列

    点Q ( X,Y ) は 点P ( x,y ) を β 回転させたものである。 点Pの座標の x , yを r と α で表わすと, x=rcosα y=rsinα ・・・・・・ 点Qの座標の X , Yを r と α, β で表わすと, X=rcos( α+β ) Y=rsin( α+β ) 加法定理を用いると, X=r( cosαcosβ−sinαsinβ ) Y=r( sinαcosβ+cosαsinβ ) となる。 を代入すると, X=xcosβ−ysinβ Y=xsinβ+ycosβ となる。この関係を行列を用いて表わすと, ( X Y )=( cosβ −sinβ sinβ cosβ )( x y ) となる。 行列 ( cosβ −sinβ sinβ cosβ ) を回転行列という。 【関連ページ】 カテゴリー分類>>行列>>行列を用いた回転 数学C

    mas0102
    mas0102 2009/03/07
    X=xcosβ−ysinβ Y=xsinβ+ycosβ
  • Anti-Grain Geometry - Interpolation with Bezier Curves

    Interpolation with Bezier Curves A very simple method of smoothing polygons Initially, there was a question in comp.graphic.algorithms how to interpolate a polygon with a curve in such a way that the resulting curve would be smooth and hit all its vertices. Gernot Hoffmann suggested to use a well-known B-Spline interpolation. Here is his original article. B-Spline works good and it behaves like an

    mas0102
    mas0102 2009/03/07
    スプライン曲線