org.jscience.mathematics.geometry
Class Axis1Placement3D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractPlacement
          extended by org.jscience.mathematics.geometry.Placement3D
              extended by org.jscience.mathematics.geometry.Axis1Placement3D
All Implemented Interfaces:
java.io.Serializable

public class Axis1Placement3D
extends Placement3D

�R���� : ���_��?W�Ƃy���̕��݂̂��`�����?�?W�n (�z�u?��) ��\���N���X?B

���̃N���X��?A ��]�� �̒�?S�������ƂȂǂɗ��p����܂�?B

���̃N���X�̃C���X�^���X��?A ��?�?W�n�̌��_�ƂȂ�_ location ��?A ��?�?W�n�̂y���̕����x�N�g�� axis ��ێ?���܂�?B ���̋�?�?W�n��?A(�Öق�) �E��n�̒���?W�n��\���܂���?A ��?g�ł͂w������тx���̕��͌��肵�܂���?B �w���̕��Ƃx���̕��̌����?A���̋�?�?W�n�𗘗p���鑤�ɔC����܂�?B

�y�̊��x�N�g����?A?�ɂ��̑傫���� 1 �ɒP�ʉ����Ĉ����܂�?B

location �ɗ^����_�ɂ͓B�?��͂Ȃ�?A Point3D �N���X�̔C�ӂ̓_��^���邱�Ƃ��ł��܂���?A null ��w�肷�邱�Ƃ͂ł��܂���?B axis �ɗ^����x�N�g�� Vector3D �͓BɒP�ʉ�����Ă���K�v�͂���܂���?A �[�?�x�N�g����^���邱�Ƃ͂ł��܂���?B �Ȃ�?Aaxis �ɗ^����x�N�g���� �w�肵�Ȃ� (null ��w�肷��) ���Ƃ�ł��܂�?B axis �� null �Ƃ����?A�y���̕��� (0, 0, 1) �ɓ�������̂Ɖ�߂���܂�?B

See Also:
Axis2Placement3D, Serialized Form

Constructor Summary
Axis1Placement3D(Point3D location, Vector3D axis)
          ��?
 
Method Summary
 Vector3D axis()
          ���̋�?
protected  Axis1Placement3D doTransformBy(boolean reverseTransform, CartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
 Vector3D effectiveAxis()
          ���̋�?
protected  void output(java.io.PrintWriter writer, int indent)
          ?
 Axis1Placement3D reverseTransformBy(CartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
 Line3D toLine()
          ���̋�?
 Axis1Placement3D transformBy(boolean reverseTransform, CartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
 Axis1Placement3D transformBy(CartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
 Vector3D z()
          ���̋�?
 
Methods inherited from class org.jscience.mathematics.geometry.Placement3D
dimension, is3D, location
 
Methods inherited from class org.jscience.mathematics.geometry.AbstractPlacement
isPlacement
 
Methods inherited from class org.jscience.mathematics.geometry.GeometryElement
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is2D, isCurve, isFreeform, isParametric, isPoint, 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

Axis1Placement3D

public Axis1Placement3D(Point3D location,
                        Vector3D axis)
��?�?W�n�̌��_�ƂȂ�_�� �y���̕����x�N�g����^����?A �I�u�W�F�N�g��?\�z����?B

location �� null ��?�?��ɂ�?A InvalidArgumentValueException �̗�O��?�����?B

axis �� null �ł�?\��Ȃ�?B axis �� null ��?�?��ɂ�?A �y���̕��� (0, 0, 1) �ɓ�������̂Ɖ�߂����?B

axis �̑傫����?A ��?�?ݒ肳��Ă��鉉�Z?�?�̋����̋��e��?��ȉ���?�?��ɂ�?A InvalidArgumentValueException �̗�O��?�����?B

Parameters:
location - ��?�?W�n�̌��_
axis - �y���̕����x�N�g��
Method Detail

axis

public Vector3D axis()
���̋�?�?W�n�̂y���̕���\���x�N�g����Ԃ�?B

�I�u�W�F�N�g��?\�z���ɗ^����ꂽ axis ��Ԃ�?B ��B�?Anull ���Ԃ邱�Ƃ �肤��?B

Returns:
�y���̕���\���x�N�g��

effectiveAxis

public Vector3D effectiveAxis()
���̋�?�?W�n�̂y���̕���\�� (���I��) �x�N�g����Ԃ�?B

axis �� null �łȂ����?Aaxis ��Ԃ�?B axis �� null �Ȃ��?A(0, 0, 1) �̃x�N�g����Ԃ�?B

Returns:
�y���̕���\�� (���I��) �x�N�g��

z

public Vector3D z()
���̋�?�?W�n�̂y����\���P�ʃx�N�g����Ԃ�?B

Returns:
�y����\���P�ʃx�N�g��

toLine

public Line3D toLine()
���̋�?�?W�n�̌��_��ʂ�?A�y���̕���?L�т钼?��Ԃ�?B

Returns:
���_��ʂ�?A�y���̕���?L�т钼?�

doTransformBy

protected Axis1Placement3D 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

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

transformBy

public Axis1Placement3D transformBy(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

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

transformBy

public Axis1Placement3D transformBy(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

Parameters:
transformationOperator - �􉽓I�ϊ����Z�q
transformedGeometries - ��ɓ��l�̕ϊ���{�����􉽗v�f��܂ރn�b�V���e?[�u��
Returns:
�ϊ���̊􉽗v�f

reverseTransformBy

public Axis1Placement3D reverseTransformBy(CartesianTransformationOperator3D transformationOperator,
                                           java.util.Hashtable transformedGeometries)
���̓_��?A�^����ꂽ�􉽓I�ϊ����Z�q�ŋt�ϊ�����?B

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

this �� transformedGeometries ��ɃL?[�Ƃ��đ�?݂��Ȃ�?�?��ɂ�?A this �� transformationOperator �ŋt�ϊ�������̂�Ԃ�?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 �ŋt�ϊ�������̂�Ԃ�?B

Parameters:
transformationOperator - �􉽓I�ϊ����Z�q
transformedGeometries - ��ɓ��l�̕ϊ���{�����􉽗v�f��܂ރn�b�V���e?[�u��
Returns:
�t�ϊ���̊􉽗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