org.jscience.mathematics.geometry
Class ConditionOfOperation

java.lang.Object
  extended by org.jscience.mathematics.geometry.ConditionOfOperation

public class ConditionOfOperation
extends java.lang.Object

ConditionOfOperation �́A���Z�쏂�\���N���X�ł��B

���Z�쏂Ƃ́AJGCL �̃I�u�W�F�N�g�̃��\�b�h�� �e��̊􉽉��Z��s�Ȃ���ŎQ�Ƃ��鋖�e�덷��܂Ƃ߂���̂ł��B
��‚̉��Z�쏂́A�ȉ��̋��e�덷�BĂ��܂��B

JGCL �ł́AJava �̃X���b�h���ɈقȂ鉉�Z�쏂�ݒ肷�邱�Ƃ��ł��܂��B
�X�̃X���b�h�ɂ́A���Z�쏂�܂ރX�^�b�N����‚��‘Ή����܂��B ���̃X�^�b�N�͏����Ԃł͋� (empty) �ł��B ���[�U�́A���̃X�^�b�N�ɔC�ӂ̉��Z�쏂�� push/pop ���邱�Ƃ��ł��܂��B
JGCL �̃I�u�W�F�N�g�̃��\�b�h�́A ���炩�̋��e�덷���f���K�v�ȏꍇ�ɁA ���ꂪ� s�����X���b�h�ɑΉ����� ���Z�쏃X�^�b�N�̈�ԏ�ɂ��鉉�Z�쏂�Q�Ƃ��܂��B �X�^�b�N����̏ꍇ�ɂ́A�f�t�H���g�̉��Z�쏂�Q�Ƃ��܂��B


Constructor Summary
ConditionOfOperation()
          �ȉ��̋��e�덷�l�ŃI�u�W�F�N�g��\�z����B

�����̋��e�덷 : 1.0e-4 �p�x�̋��e�덷 : Math.PI * 0.1 / 180.0 �p�����[�^�l�̋��e�덷 : 1.0e-8 ���@���Ȃ����l�̋��e�덷 : 1.0e-8

ConditionOfOperation(ToleranceForDistance dTol, ToleranceForAngle aTol, ToleranceForParameter pTol, Tolerance rTol)
          ���e�덷��w�肵�ăI�u�W�F�N�g��\�z����B
 
Method Summary
static boolean empty()
          ���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N���󂩔ۂ���Ԃ��B
static ConditionOfOperation getCondition()
          ���ݎ s���̃X���b�h�ɂ����ĎQ�Ƃ����ׂ����Z�쏂���o���B

���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N����ł���΁A �f�t�H���g�̉��Z�쏂�Ԃ��B

static ConditionOfOperation getDefaultCondition()
          �f�t�H���g�Ƃ��Đݒ肳��Ă��鉉�Z�쏂�Ԃ��B
 double getToleranceForAngle()
          ���̉��Z�쏂̊p�x�̋��e�덷��Ԃ��B
 ToleranceForAngle getToleranceForAngleAsObject()
          ���̉��Z�쏂̊p�x�̋��e�덷��Ԃ��B
 double getToleranceForDistance()
          ���̉��Z�쏂̋����̋��e�덷��Ԃ��B
 double getToleranceForDistance2()
          ���̉��Z�쏂̋����̋��e�덷�̎����Ԃ��B
 ToleranceForDistance getToleranceForDistanceAsObject()
          ���̉��Z�쏂̋����̋��e�덷��Ԃ��B
 double getToleranceForParameter()
          ���̉��Z�쏂̃p�����[�^�l�̋��e�덷��Ԃ��B
 ToleranceForParameter getToleranceForParameterAsObject()
          ���̉��Z�쏂̃p�����[�^�l�̋��e�덷��Ԃ��B
 double getToleranceForRealNumber()
          ���̉��Z�쏂̐��@���Ȃ����l�̋��e�덷��Ԃ��B
 Tolerance getToleranceForRealNumberAsObject()
          ���̉��Z�쏂̐��@���Ȃ����l�̋��e�덷��Ԃ��B
 ConditionOfOperation makeCopy(Tolerance rTol)
          ���̉��Z�쏂���A���@���Ȃ����l�̋��e�덷������w��̒l�ɕύX����������Ԃ�
 ConditionOfOperation makeCopy(ToleranceForAngle aTol)
          ���̉��Z�쏂���A�p�x�̋��e�덷������w��̒l�ɕύX����������Ԃ�
 ConditionOfOperation makeCopy(ToleranceForDistance dTol)
          ���̉��Z�쏂���A�����̋��e�덷������w��̒l�ɕύX����������Ԃ��B
 ConditionOfOperation makeCopy(ToleranceForParameter pTol)
          ���̉��Z�쏂���A�p�����[�^�l�̋��e�덷������w��̒l�ɕύX����������Ԃ�
 ConditionOfOperation makeCopyWithToleranceForAngle(double value)
          ���̉��Z�쏂���A�p�x�̋��e�덷������w��̒l�ɕύX����������Ԃ�
 ConditionOfOperation makeCopyWithToleranceForDistance(double value)
          ���̉��Z�쏂���A�����̋��e�덷������w��̒l�ɕύX����������Ԃ��B
 ConditionOfOperation makeCopyWithToleranceForParameter(double value)
          ���̉��Z�쏂���A�p�����[�^�l�̋��e�덷������w��̒l�ɕύX����������Ԃ�
 ConditionOfOperation makeCopyWithToleranceForRealNumber(double value)
          ���̉��Z�쏂���A���@���Ȃ����l�̋��e�덷������w��̒l�ɕύX����������Ԃ�
static ConditionOfOperation peek()
          ���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�̈�ԏ�ɂ��鉉�Z�쏂�Ԃ��B

���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N����ł���� null ��Ԃ��B

���̃��\�b�h�́A���Z�쏃X�^�b�N�̏�Ԃ�ύX���Ȃ��B

static ConditionOfOperation pop()
          ���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N���牉�Z�쏂��� pop ����B

���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N����̏ꍇ�ɂ� null ��Ԃ��B

 void push()
          ���̉��Z�쏂�A���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�� push ����B
static void push(ConditionOfOperation condition)
          �^����ꂽ���Z�쏂�A���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�� push ����B
 void setDefault()
          ���̉��Z�쏂�A�f�t�H���g�̉��Z�쏂Ƃ��Đݒ肷��B
static void setDefaultCondition(ConditionOfOperation cond)
          �^����ꂽ���Z�쏂�f�t�H���g�Ƃ��Đݒ肷��B
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionOfOperation

public ConditionOfOperation()
�ȉ��̋��e�덷�l�ŃI�u�W�F�N�g��\�z����B

 �����̋��e�덷 : 1.0e-4
 �p�x�̋��e�덷 : Math.PI * 0.1 / 180.0
 �p�����[�^�l�̋��e�덷 : 1.0e-8
 ���@���Ȃ����l�̋��e�덷 : 1.0e-8
 


ConditionOfOperation

public ConditionOfOperation(ToleranceForDistance dTol,
                            ToleranceForAngle aTol,
                            ToleranceForParameter pTol,
                            Tolerance rTol)
���e�덷��w�肵�ăI�u�W�F�N�g��\�z����B

Parameters:
dTol - �����̋��e�덷
aTol - �p�x�̋��e�덷
pTol - �p�����[�^�l�̋��e�덷
rTol - ���@���Ȃ����l�̋��e�덷
Method Detail

makeCopy

public ConditionOfOperation makeCopy(ToleranceForDistance dTol)
���̉��Z�쏂���A�����̋��e�덷������w��̒l�ɕύX����������Ԃ��B

Parameters:
dTol - �ݒ肷�鋗���̋��e�덷

makeCopyWithToleranceForDistance

public ConditionOfOperation makeCopyWithToleranceForDistance(double value)
���̉��Z�쏂���A�����̋��e�덷������w��̒l�ɕύX����������Ԃ��B

Parameters:
value - �ݒ肷�鋗���̋��e�덷
See Also:
ToleranceForDistance

makeCopy

public ConditionOfOperation makeCopy(ToleranceForAngle aTol)
���̉��Z�쏂���A�p�x�̋��e�덷������w��̒l�ɕύX����������Ԃ�

Parameters:
aTol - �ݒ肷��p�x�̋��e�덷

makeCopyWithToleranceForAngle

public ConditionOfOperation makeCopyWithToleranceForAngle(double value)
���̉��Z�쏂���A�p�x�̋��e�덷������w��̒l�ɕύX����������Ԃ�

Parameters:
value - �ݒ肷��p�x�̋��e�덷
See Also:
ToleranceForAngle

makeCopy

public ConditionOfOperation makeCopy(ToleranceForParameter pTol)
���̉��Z�쏂���A�p�����[�^�l�̋��e�덷������w��̒l�ɕύX����������Ԃ�

Parameters:
pTol - �ݒ肷��p�����[�^�l�̋��e�덷

makeCopyWithToleranceForParameter

public ConditionOfOperation makeCopyWithToleranceForParameter(double value)
���̉��Z�쏂���A�p�����[�^�l�̋��e�덷������w��̒l�ɕύX����������Ԃ�

Parameters:
value - �ݒ肷��p�����[�^�l�̋��e�덷
See Also:
ToleranceForParameter

makeCopy

public ConditionOfOperation makeCopy(Tolerance rTol)
���̉��Z�쏂���A���@���Ȃ����l�̋��e�덷������w��̒l�ɕύX����������Ԃ�

Parameters:
rTol - �ݒ肷�鐡�@���Ȃ����l�̋��e�덷

makeCopyWithToleranceForRealNumber

public ConditionOfOperation makeCopyWithToleranceForRealNumber(double value)
���̉��Z�쏂���A���@���Ȃ����l�̋��e�덷������w��̒l�ɕύX����������Ԃ�

Parameters:
value - �ݒ肷�鐡�@���Ȃ����l�̋��e�덷
See Also:
Tolerance

getToleranceForDistance

public double getToleranceForDistance()
���̉��Z�쏂̋����̋��e�덷��Ԃ��B

Returns:
�����̋��e�덷

getToleranceForDistanceAsObject

public ToleranceForDistance getToleranceForDistanceAsObject()
���̉��Z�쏂̋����̋��e�덷��Ԃ��B

Returns:
�����̋��e�덷

getToleranceForDistance2

public double getToleranceForDistance2()
���̉��Z�쏂̋����̋��e�덷�̎����Ԃ��B

Returns:
�����̋��e�덷�̎���

getToleranceForAngle

public double getToleranceForAngle()
���̉��Z�쏂̊p�x�̋��e�덷��Ԃ��B

Returns:
�p�x�̋��e�덷

getToleranceForAngleAsObject

public ToleranceForAngle getToleranceForAngleAsObject()
���̉��Z�쏂̊p�x�̋��e�덷��Ԃ��B

Returns:
�p�x�̋��e�덷

getToleranceForParameter

public double getToleranceForParameter()
���̉��Z�쏂̃p�����[�^�l�̋��e�덷��Ԃ��B

Returns:
�p�����[�^�l�̋��e�덷

getToleranceForParameterAsObject

public ToleranceForParameter getToleranceForParameterAsObject()
���̉��Z�쏂̃p�����[�^�l�̋��e�덷��Ԃ��B

Returns:
�p�����[�^�l�̋��e�덷

getToleranceForRealNumber

public double getToleranceForRealNumber()
���̉��Z�쏂̐��@���Ȃ����l�̋��e�덷��Ԃ��B

Returns:
���@���Ȃ����l�̋��e�덷

getToleranceForRealNumberAsObject

public Tolerance getToleranceForRealNumberAsObject()
���̉��Z�쏂̐��@���Ȃ����l�̋��e�덷��Ԃ��B

Returns:
���@���Ȃ����l�̋��e�덷

getDefaultCondition

public static ConditionOfOperation getDefaultCondition()
�f�t�H���g�Ƃ��Đݒ肳��Ă��鉉�Z�쏂�Ԃ��B


setDefaultCondition

public static void setDefaultCondition(ConditionOfOperation cond)
�^����ꂽ���Z�쏂�f�t�H���g�Ƃ��Đݒ肷��B

Parameters:
cond - �f�t�H���g�Ƃ��Đݒ肷�鉉�Z��

getCondition

public static ConditionOfOperation getCondition()
���ݎ s���̃X���b�h�ɂ����ĎQ�Ƃ����ׂ����Z�쏂���o���B

���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N����ł���΁A �f�t�H���g�̉��Z�쏂�Ԃ��B

Returns:
���ݎ s���̃X���b�h�ɂ����ĎQ�Ƃ����ׂ����Z��

empty

public static boolean empty()
���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N���󂩔ۂ���Ԃ��B

Returns:
���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N���󂩔ۂ�

peek

public static ConditionOfOperation peek()
���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�̈�ԏ�ɂ��鉉�Z�쏂�Ԃ��B

���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N����ł���� null ��Ԃ��B

���̃��\�b�h�́A���Z�쏃X�^�b�N�̏�Ԃ�ύX���Ȃ��B

Returns:
���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�̈�ԏ�ɂ��鉉�Z��

push

public static void push(ConditionOfOperation condition)
�^����ꂽ���Z�쏂�A���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�� push ����B

Parameters:
condition - push ���鉉�Z��

pop

public static ConditionOfOperation pop()
���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N���牉�Z�쏂��� pop ����B

���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N����̏ꍇ�ɂ� null ��Ԃ��B

Returns:
pop ���ꂽ���Z��

setDefault

public void setDefault()
���̉��Z�쏂�A�f�t�H���g�̉��Z�쏂Ƃ��Đݒ肷��B


push

public void push()
���̉��Z�쏂�A���ݎ s���̃X���b�h�ɑΉ����鉉�Z�쏃X�^�b�N�� push ����B