Top > Distance

Distance      Graphic Calculation Edit

Declaration:
 FUNCTION Distance ( x1 :REAL;
             y1 :REAL;
             x2 :REAL;
             y2 :REAL
            ) :REAL ;

Description:

Function Distance returns the distance between the two specified coordinate locations.

説明
 指定した2点間の距離を返します。

Parameters:

x1X coordinate of first point.1点目のX座標
y1Y coordinate of first point.1点目のY座標
x2X coordinate of second point.2点目のX座標
y2Y coordinate of second point.2点目のY座標

Example:
 d:=Distance(0,2,4,5);
 {returns the distance between (0,2) and (4,5)}

See Also:

 Norm


リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
Last-modified: Fri, 09 Dec 2011 16:32:23 JST (4525d)