|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectdche.component.PolygonCoordinates
public class PolygonCoordinates
多角形内部座標クラス
フィールドの概要 | |
---|---|
protected double[] |
s
座標を格納した配列 |
コンストラクタの概要 | |
---|---|
protected |
PolygonCoordinates(double[] s)
多角形内部座標を構築する |
メソッドの概要 | |
---|---|
double |
get(int index)
座標値を返す |
static PolygonCoordinates |
quadangle(int x,
int y,
int[] gx,
int[] gy)
四角形の座標を返す |
static PolygonCoordinates |
triangle(int x,
int y,
int[] gx,
int[] gy)
三角形の座標を返す |
double |
valueAt(double[] value)
多角形内部の値を返す |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected double[] s
コンストラクタの詳細 |
---|
protected PolygonCoordinates(double[] s)
s
- 座標を格納した配列メソッドの詳細 |
---|
public double get(int index)
index
- 座標のインデックス
public double valueAt(double[] value)
value
- 頂点での値を格納した配列
public static PolygonCoordinates triangle(int x, int y, int[] gx, int[] gy)
x
- 座標を求める点の x 座標y
- 座標を求める点の y 座標gx
- 頂点の x 座標を格納した配列gy
- 頂点の y 座標を格納した配列public static PolygonCoordinates quadangle(int x, int y, int[] gx, int[] gy)
x
- 座標を求める点の x 座標y
- 座標を求める点の y 座標gx
- 頂点の x 座標を格納した配列gy
- 頂点の y 座標を格納した配列
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |