org.jscience.mathematics.geometry
Class HomogeneousPoint3D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractPoint
          extended by org.jscience.mathematics.geometry.Point3D
              extended by org.jscience.mathematics.geometry.HomogeneousPoint3D
All Implemented Interfaces:
java.io.Serializable

public class HomogeneousPoint3D
extends Point3D

�R����?F�e?W�l����?��Œ�`���ꂽ3�����̓���?W�_��\���N���X?B

See Also:
CartesianPoint3D, Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.geometry.Point3D
origin
 
Constructor Summary
HomogeneousPoint3D(double[] c)
          (c[0]/c[3], c[1]/c[3], c[2]/c[3]) �Œ�`�����I�u�W�F�N�g��?
HomogeneousPoint3D(double wx, double wy, double wz, double w)
          (WX/W, WY/W, WZ/W) �Œ�`�����I�u�W�F�N�g��?
 
Method Summary
protected  Point3D doTransformBy(boolean reverseTransform, CartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
protected  void output(java.io.PrintWriter writer, int indent)
          ?
 double w()
          W ?
 double wx()
          WX ?
 double wy()
          WY ?
 double wz()
          WZ ?
 double x()
          X ?
 double y()
          Y ?
 double z()
          Z ?
 
Methods inherited from class org.jscience.mathematics.geometry.Point3D
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
 
Methods inherited from class org.jscience.mathematics.geometry.AbstractPoint
isPoint
 
Methods inherited from class org.jscience.mathematics.geometry.GeometryElement
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is2D, isCurve, isFreeform, isParametric, isPlacement, isSurface, isTransformationOperator, isVector, makeIndent, output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomogeneousPoint3D

public HomogeneousPoint3D(double wx,
                          double wy,
                          double wz,
                          double w)
(WX/W, WY/W, WZ/W) �Œ�`�����I�u�W�F�N�g��?\�z����?B

Parameters:
wx - WX ?W�l
wy - WY ?W�l
wz - WZ ?W�l
w - W ?W�l

HomogeneousPoint3D

public HomogeneousPoint3D(double[] c)
(c[0]/c[3], c[1]/c[3], c[2]/c[3]) �Œ�`�����I�u�W�F�N�g��?\�z����?B

Parameters:
c - ?W�l�̔z��
Method Detail

x

public double x()
X ?W�l (WX/W) ��Ԃ�?B

Specified by:
x in class Point3D
Returns:
X ?W�l

y

public double y()
Y ?W�l (WY/W) ��Ԃ�?B

Specified by:
y in class Point3D
Returns:
Y ?W�l

z

public double z()
Z ?W�l (WZ/W) ��Ԃ�?B

Specified by:
z in class Point3D
Returns:
Z ?W�l

wx

public double wx()
WX ?W�l��Ԃ�?B

Returns:
WX ?W�l

wy

public double wy()
WY ?W�l��Ԃ�?B

Returns:
WY ?W�l

wz

public double wz()
WZ ?W�l��Ԃ�?B

Returns:
WZ ?W�l

w

public double w()
W ?W�l��Ԃ�?B

Returns:
W ?W�l

doTransformBy

protected Point3D doTransformBy(boolean reverseTransform,
                                CartesianTransformationOperator3D transformationOperator,
                                java.util.Hashtable transformedGeometries)
���̓_��?A�^����ꂽ�􉽓I�ϊ����Z�q�ŕϊ�����?B

transformedGeometries ��?A �ϊ��O�̊􉽗v�f��L?[�Ƃ�?A �ϊ���̊􉽗v�f��l�Ƃ���n�b�V���e?[�u���ł���?B

this �� transformedGeometries ��ɃL?[�Ƃ��đ�?݂��Ȃ�?�?��ɂ�?A this �� transformationOperator �ŕϊ�������̂�Ԃ�?B ����?ۂɃ?�\�b�h�Ք�ł� this ��L?[?A �ϊ����ʂ�l�Ƃ��� transformedGeometries �ɒljB���?B

this �� transformedGeometries ��Ɋ�ɃL?[�Ƃ��đ�?݂���?�?��ɂ�?A ��?ۂ̕ϊ���?s�Ȃ킸?A���̃L?[�ɑΉ�����l��Ԃ�?B ����?��?��?ċA�I��?s�Ȃ���?B

transformedGeometries �� null �ł�?\��Ȃ�?B transformedGeometries �� null ��?�?��ɂ�?A ?�� this �� transformationOperator �ŕϊ�������̂�Ԃ�?B

Specified by:
doTransformBy in class Point3D
Parameters:
reverseTransform - �t�ϊ�����̂ł���� true?A�����łȂ���� false
transformationOperator - �􉽓I�ϊ����Z�q
transformedGeometries - ��ɓ��l�̕ϊ���{�����􉽗v�f��܂ރn�b�V���e?[�u��
Returns:
�ϊ���̊􉽗v�f

output

protected void output(java.io.PrintWriter writer,
                      int indent)
?o�̓X�g��?[���Ɍ`?�?���?o�͂���?B

Specified by:
output in class GeometryElement
Parameters:
writer - PrintWriter
indent - �C���f���g��?[��
See Also:
GeometryElement