MapScript 4.13 lineObjクラス

lineObjオブジェクトは一つ或いは複数pointObjインスタンスを作成します。

+------+ 0..1  1..* +-------+
| Line | ---------> | Point |
+------+            +-------+

4.13.1 lineObj 属性

connoteanumpoints : int immutable

ラインに含まれる点の数です。

4.13.2 lineObj メソッド

connoteaadd(pointObj point) : int

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

connoteaget(int index) : pointObj

ポイントのインデックスを与えて、該当ポイントを返します。

connoteaproject(projectionObj proj_in, projectionObj proj_out) : int

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

connoteaset(int index, pointObj point) : int

インデックスを指定して、ポイントを設定します。

                                                                                                                                                                                                                 

Add a new comment
Page tags: mapscript mapserver
page_revision: 3, last_edited: 1210511985|%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