public class RbfDataModel
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected Point3D[][] |
grid
格子点を格納する配列
|
protected Cube3D |
gridRange
格子範囲
|
protected static double |
MIN_DISTANCE_SQ
母点間の最小距離の2乗
|
int |
nx
格子点の x 座標の分割数
|
int |
ny
格子点の y 座標の分割数
|
protected java.util.ArrayList<Point3D> |
points
母点のリスト
|
コンストラクタと説明 |
---|
RbfDataModel()
放射基底関数補間データモデルを構築する
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addPoint(Point3D newPoint)
点を追加する
|
void |
clear()
データを消去する
|
void |
createGrid(Rbf rbf,
int nx,
double x0,
double x1,
int ny,
double y0,
double y1)
格子点を作成する
|
Point3D |
getGrid(int ix,
int iy)
格子点を返す
|
Point3D |
getPoint(int index)
母点を返す
|
int |
getPointCount()
母点の数を返す
|
Cube3D |
getRange()
格子範囲を返す
|
protected static final double MIN_DISTANCE_SQ
protected java.util.ArrayList<Point3D> points
public int nx
public int ny
protected Point3D[][] grid
protected Cube3D gridRange
public int getPointCount()
public Point3D getPoint(int index)
index
- 母点のインデックスpublic void addPoint(Point3D newPoint)
newPoint
- 新しく追加する点public Point3D getGrid(int ix, int iy)
ix
- 格子点 x 座標のインデックスiy
- 格子点 y 座標のインデックスpublic Cube3D getRange()
public void clear()
public void createGrid(Rbf rbf, int nx, double x0, double x1, int ny, double y0, double y1) throws MatrixSolveException
rbf
- 基準半径nx
- 格子点の x 座標の分割数x0
- 格子点の x 座標の最小値x1
- 格子点の x 座標の最大値ny
- 格子点の y 座標の分割数y0
- 格子点の y 座標の最小値y1
- 格子点の y 座標の最大値MatrixSolveException
- 連立方程式の解が求まらないとき