PHP/MapScript LineObjクラス

コンストラクタ:

LineObj ms_newLineObj()

メンバ:

int    numpoints  (read-only)

メソッド:

connoteaint add(pointObj point)

ラインの終端にポイントを追加します。

connoteaint addXY(double x, double y [, double m])

ラインの終端にポイントを追加します。
注:3つめの引数mは、measureシェープファイルにのみ使用されます。必須ではありません。

connoteaint addXYZ(double x, double y, double z [, double m])

ラインの終端にポイントを追加します。
注:3つめの引数mは、measureシェープファイルにのみ使用されます。必須ではありません。

connoteaPointObj point(int i)

ポイント番号iへの参照を返します。参照は、このポイントを含むlineObjが存在している間のみ有効です。

connoteaint project(projectionObj in, projectionObj out)

ラインを ”in” 投影(第1引数)から”out” 投影(第2引数)へ投影します。MS_SUCCESSまたはMS_FAILUREが返ります。

connoteavoid free()

ラインオブジェクトが使ったリソースを解放します。

                                                                                                                                                                                                                                                                

Add a new comment
Page tags: mapserver phpmapscript
page_revision: 5, last_edited: 1210512534|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License