|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--jp.go.ipa.jgcl.JgclGeometry | +--jp.go.ipa.jgcl.JgclPoint | +--jp.go.ipa.jgcl.JgclPoint3D | +--jp.go.ipa.jgcl.JgclCartesianPoint3D
3次元:各座標値が定数で定義された点を表すクラス。
JgclHomogeneousPoint3D
, 直列化された形式クラス jp.go.ipa.jgcl.JgclPoint3D から継承したフィールド |
origin |
コンストラクタの概要 | |
JgclCartesianPoint3D(double[] components)
(components[0], components[1], components[2]) で定義される オブジェクトを構築する。 |
|
JgclCartesianPoint3D(double x,
double y,
double z)
(x, y, z) で定義されるオブジェクトを構築する。 |
メソッドの概要 | |
protected JgclPoint3D |
doTransformBy(boolean reverseTransform,
JgclCartesianTransformationOperator3D transformationOperator,
java.util.Hashtable transformedGeometries)
この点を、与えられた幾何的変換演算子で変換する。 |
protected void |
output(java.io.PrintWriter writer,
int indent)
出力ストリームに形状情報を出力する。 |
double |
x()
X 座標値を返す。 |
double |
y()
Y 座標値を返す。 |
double |
z()
Z 座標値を返す。 |
クラス jp.go.ipa.jgcl.JgclPoint3D から継承したメソッド |
add, dimension, distance, distance2, divide, identical, is3D, isOn, isOn, linearInterpolate, longestPoint, longestPoint, midPoint, multiply, of, of, project, reverseTransform, reverseTransformBy, subtract, subtract, toVector3D, toVector3D, transform, transform, transformBy, transformBy |
クラス jp.go.ipa.jgcl.JgclPoint から継承したメソッド |
isPoint |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public JgclCartesianPoint3D(double x, double y, double z)
x
- X 座標値y
- Y 座標値z
- Z 座標値public JgclCartesianPoint3D(double[] components)
components
- 座標値の配列メソッドの詳細 |
public double x()
JgclPoint3D
内の x
public double y()
JgclPoint3D
内の y
public double z()
JgclPoint3D
内の z
protected JgclPoint3D doTransformBy(boolean reverseTransform, JgclCartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
transformedGeometries は、 変換前の幾何要素をキーとし、 変換後の幾何要素を値とするハッシュテーブルである。
this が transformedGeometries 内にキーとして存在しない場合には、 this を transformationOperator で変換したものを返す。 この際にメソッド内部では this をキー、 変換結果を値として transformedGeometries に追加する。
this が transformedGeometries 内に既にキーとして存在する場合には、 実際の変換は行なわず、そのキーに対応する値を返す。 この処理は再帰的に行なわれる。
transformedGeometries は null でも構わない。 transformedGeometries は null の場合には、 常に this を transformationOperator で変換したものを返す。
JgclPoint3D
内の doTransformBy
reverseTransform
- 逆変換するのであれば true、そうでなければ falsetransformationOperator
- 幾何的変換演算子transformedGeometries
- 既に同様の変換を施した幾何要素を含むハッシュテーブルprotected void output(java.io.PrintWriter writer, int indent)
JgclGeometry
内の output
writer
- PrintWriterindent
- インデントの深さJgclGeometry
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |