org.jscience.mathematics.geometry
Class OverlapCurve3D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractNonParametricCurve
          extended by org.jscience.mathematics.geometry.NonParametricCurve3D
              extended by org.jscience.mathematics.geometry.OverlapCurve3D
All Implemented Interfaces:
java.io.Serializable, CurveCurveInterference3D, Interference3D

public class OverlapCurve3D
extends NonParametricCurve3D
implements CurveCurveInterference3D

�R���� : ��􉽗v�f�� (��?�����) �I?[�o?[���b�v���Ă����Ԃ�\���N���X?B

���̃N���X�̃C���X�^���X��?A ��􉽗v�f�̃I?[�o?[���b�v�� ���̊􉽗v�f�ɂ�����p���??[�^�͈͂�\���`?�v�f geom1 �� ����̊􉽗v�f�ɂ�����p���??[�^�͈͂�\���`?�v�f geom2 ��ێ?����?B

�Ȃ�?A geom1 �� geom2 ����?ۂɃI?[�o?[���b�v���邩�ǂ�����?A ���̃N���X�̓Ք�ł͊֒m���Ȃ�?B

See Also:
Serialized Form

Method Summary
 CurveCurveInterference3D changeCurve1(ParametricCurve3D newCurve)
          ���̊�?
 CurveCurveInterference3D changeCurve2(ParametricCurve3D newCurve)
          ���̊�?
 ParametricCurve3D curve1()
          ���̃I?
 ParametricCurve3D curve2()
          ���̃I?
 double end1()
          ���̃I?
 double end2()
          ���̃I?
 OverlapCurve3D exchange()
          ���̃I?
 double increase1()
          ���̃I?
 double increase2()
          ���̃I?
 boolean isFreeform()
          ���̊􉽗v�f�����R�`?
 boolean isIntersectionPoint()
          ���̊�?
 boolean isOverlapCurve()
          ���̊�?
protected  void output(java.io.PrintWriter writer, int indent)
          ?
 double start1()
          ���̃I?
 double start2()
          ���̃I?
 IntersectionPoint3D toIntersectionPoint()
          ���̊�?
 OverlapCurve3D toOverlapCurve()
          ���̊�?
 CurveCurveInterference3D trim1(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion3D conv)
          ���̊�?
 CurveCurveInterference3D trim2(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion3D conv)
          ���̊�?
 
Methods inherited from class org.jscience.mathematics.geometry.NonParametricCurve3D
dimension, is3D
 
Methods inherited from class org.jscience.mathematics.geometry.AbstractNonParametricCurve
isCurve
 
Methods inherited from class org.jscience.mathematics.geometry.GeometryElement
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is2D, isParametric, isPlacement, isPoint, isSurface, isTransformationOperator, isVector, makeIndent, output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

curve1

public ParametricCurve3D curve1()
���̃I?[�o?[���b�v�̈��̊􉽗v�f (�􉽗v�f1) ����?� (��?�1) �ł���Ƃ���?A ���̋�?��Ԃ�?B

�`?�v�f1 ����?�łȂ�?�?��� null ��Ԃ�?B

Returns:
�`?�v�f1 (��?�1)

start1

public double start1()
���̃I?[�o?[���b�v�̈��̊􉽗v�f (�􉽗v�f1) ����?� (��?�1) �ł���Ƃ���?A ���̋�?�1 �ł̃p���??[�^��Ԃ̊J�n�l��Ԃ�?B

�`?�v�f1 ����?�łȂ�?�?��� FatalException �̗�O��?�����?B

Returns:
��?�1 �ł̃p���??[�^��Ԃ̊J�n�l
See Also:
FatalException

end1

public double end1()
���̃I?[�o?[���b�v�̈��̊􉽗v�f (�􉽗v�f1) ����?� (��?�1) �ł���Ƃ���?A ���̋�?�1 �ł̃p���??[�^��Ԃ�?I���l��Ԃ�?B

�`?�v�f1 ����?�łȂ�?�?��� FatalException �̗�O��?�����?B

Returns:
��?�1 �ł̃p���??[�^��Ԃ�?I���l
See Also:
FatalException

increase1

public double increase1()
���̃I?[�o?[���b�v�̈��̊􉽗v�f (�􉽗v�f1) ����?� (��?�1) �ł���Ƃ���?A ���̋�?�1 �ł̃p���??[�^��Ԃ̑?���l��Ԃ�?B

�`?�v�f1 ����?�łȂ�?�?��� FatalException �̗�O��?�����?B

Returns:
��?�1 �ł̃p���??[�^��Ԃ̑?���l
See Also:
FatalException

curve2

public ParametricCurve3D curve2()
���̃I?[�o?[���b�v�̑���̊􉽗v�f (�􉽗v�f2) ����?� (��?�2) �ł���Ƃ���?A ���̋�?��Ԃ�?B

�`?�v�f2 ����?�łȂ�?�?��� null ��Ԃ�?B

Returns:
�`?�v�f2 (��?�2)

start2

public double start2()
���̃I?[�o?[���b�v�̑���̊􉽗v�f (�􉽗v�f2) ����?� (��?�2) �ł���Ƃ���?A ���̋�?�2 �ł̃p���??[�^��Ԃ̊J�n�l��Ԃ�?B

�`?�v�f2 ����?�łȂ�?�?��� FatalException �̗�O��?�����?B

Returns:
��?�2 �ł̃p���??[�^��Ԃ̊J�n�l
See Also:
FatalException

end2

public double end2()
���̃I?[�o?[���b�v�̑���̊􉽗v�f (�􉽗v�f2) ����?� (��?�2) �ł���Ƃ���?A ���̋�?�2 �ł̃p���??[�^��Ԃ�?I���l��Ԃ�?B

�`?�v�f2 ����?�łȂ�?�?��� FatalException �̗�O��?�����?B

Returns:
��?�2 �ł̃p���??[�^��Ԃ�?I���l
See Also:
FatalException

increase2

public double increase2()
���̃I?[�o?[���b�v�̑���̊􉽗v�f (�􉽗v�f2) ����?� (��?�2) �ł���Ƃ���?A ���̋�?�2 �ł̃p���??[�^��Ԃ̑?���l��Ԃ�?B

�`?�v�f2 ����?�łȂ�?�?��� FatalException �̗�O��?�����?B

Returns:
��?�2 �ł̃p���??[�^��Ԃ̑?���l
See Also:
FatalException

isIntersectionPoint

public boolean isIntersectionPoint()
���̊�?‚���_�ł��邩�ۂ���Ԃ�?B

Specified by:
isIntersectionPoint in interface Interference3D
Returns:
��_�ł͂Ȃ��I?[�o?[���b�v�Ȃ̂�?A?�� false

isOverlapCurve

public boolean isOverlapCurve()
���̊�?‚��I?[�o?[���b�v�ł��邩�ۂ���Ԃ�?B

Specified by:
isOverlapCurve in interface CurveCurveInterference3D
Returns:
�I?[�o?[���b�v�Ȃ̂�?A?�� true

toIntersectionPoint

public IntersectionPoint3D toIntersectionPoint()
���̊�?‚��_�ɕϊ�����?B

�I?[�o?[���b�v���_�ɕϊ����邱�Ƃ͂ł��Ȃ��̂� null ��Ԃ�?B

Specified by:
toIntersectionPoint in interface Interference3D
Returns:
?�� null

toOverlapCurve

public OverlapCurve3D toOverlapCurve()
���̊�?‚�I?[�o?[���b�v�ɕϊ�����?B

������?g��Ԃ�?B

Specified by:
toOverlapCurve in interface CurveCurveInterference3D
Returns:
������?g

exchange

public OverlapCurve3D exchange()
���̃I?[�o?[���b�v�� geom1 �� geom2 ��귂����I?[�o?[���b�v��Ԃ�?B

Returns:
geom1 �� geom2 ��귂����I?[�o?[���b�v

trim1

public CurveCurveInterference3D trim1(ParameterSection sec,
                                      org.jscience.mathematics.geometry.ParameterConversion3D conv)
���̊�?‚̈��̋�?� (��?�1) ?�ł̈ʒu��?A �^����ꂽ�ϊ�?��?�ɂ�Bĕϊ�������̂ɒu����������?‚�Ԃ�?B

Specified by:
trim1 in interface CurveCurveInterference3D
Parameters:
sec - ��?�1 �̃p���??[�^���
conv - ��?�1 �̃p���??[�^�l��ϊ�����I�u�W�F�N�g
Returns:
��?�1 ?�̈ʒu��^����ꂽ�ϊ�?��?�ɂ�Bĕϊ�������̂ɒu����������?�

trim2

public CurveCurveInterference3D trim2(ParameterSection sec,
                                      org.jscience.mathematics.geometry.ParameterConversion3D conv)
���̊�?‚̑���̋�?� (��?�2) ?�ł̈ʒu��?A �^����ꂽ�ϊ�?��?�ɂ�Bĕϊ�������̂ɒu����������?‚�Ԃ�?B

Specified by:
trim2 in interface CurveCurveInterference3D
Parameters:
sec - ��?�2 �̃p���??[�^���
conv - ��?�2 �̃p���??[�^�l��ϊ�����I�u�W�F�N�g
Returns:
��?�2 ?�̈ʒu��^����ꂽ�ϊ�?��?�ɂ�Bĕϊ�������̂ɒu����������?�

changeCurve1

public CurveCurveInterference3D changeCurve1(ParametricCurve3D newCurve)
���̊�?‚̈��̋�?� (��?�1) ��^����ꂽ��?�ɒu����������?‚�Ԃ�?B

�p���??[�^�l�Ȃǂ͂��̂܂�?B

Specified by:
changeCurve1 in interface CurveCurveInterference3D
Parameters:
newCurve - ��?�1 ��?ݒ肷���?�
Returns:
��?�1��u����������?�

changeCurve2

public CurveCurveInterference3D changeCurve2(ParametricCurve3D newCurve)
���̊�?‚̑���̋�?� (��?�2) ��^����ꂽ��?�ɒu����������?‚�Ԃ�?B

�p���??[�^�l�Ȃǂ͂��̂܂�?B

Specified by:
changeCurve2 in interface CurveCurveInterference3D
Parameters:
newCurve - ��?�2 ��?ݒ肷���?�
Returns:
��?�2 ��u����������?�

isFreeform

public boolean isFreeform()
���̊􉽗v�f�����R�`?󂩔ۂ���Ԃ�?B

Overrides:
isFreeform in class GeometryElement
Returns:
geom1, geom2 ���Ƃ�Ɏ��R�`?�ł���Ȃ�� true?A����Ȃ��� false

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