org.jscience.mathematics.geometry
Class OverlapCurve2D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractNonParametricCurve
          extended by org.jscience.mathematics.geometry.NonParametricCurve2D
              extended by org.jscience.mathematics.geometry.OverlapCurve2D
All Implemented Interfaces:
java.io.Serializable, CurveCurveInterference2D, Interference2D

public class OverlapCurve2D
extends NonParametricCurve2D
implements CurveCurveInterference2D

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

���̃N���X�̃C���X�^���X��?A ���?�̃I?[�o?[���b�v�� ���̋�?�ɂ�����p���??[�^�͈͂�\���g������?� trc1 �� ����̋�?�ɂ�����p���??[�^�͈͂�\���g������?� trc2 ��ێ?����?B

�Ȃ�?A trc1 �� trc2 ����?ۂɓ����O?Ղ�?�‚��ǂ�����?A ���̃N���X�̓Ք�ł͊֒m���Ȃ�?B

See Also:
Serialized Form

Constructor Summary
OverlapCurve2D(ParametricCurve2D curve1, double start1, double inc1, ParametricCurve2D curve2, double start2, double inc2, boolean doCheck)
          ��‚̋�?
 
Method Summary
 CurveCurveInterference2D changeCurve1(ParametricCurve2D newCurve)
          ���̊�?
 CurveCurveInterference2D changeCurve2(ParametricCurve2D newCurve)
          ���̊�?
 ParametricCurve2D curve1()
          ���̃I?
 ParametricCurve2D curve2()
          ���̃I?
 double end1()
          ���̃I?
 double end2()
          ���̃I?
 OverlapCurve2D 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?
 IntersectionPoint2D toIntersectionPoint()
          ���̊�?
 OverlapCurve2D toOverlapCurve()
          ���̊�?
 CurveCurveInterference2D trim1(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion2D conv)
          ���̊�?
 CurveCurveInterference2D trim2(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion2D conv)
          ���̊�?
 
Methods inherited from class org.jscience.mathematics.geometry.NonParametricCurve2D
dimension, is2D
 
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, is3D, 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
 

Constructor Detail

OverlapCurve2D

public OverlapCurve2D(ParametricCurve2D curve1,
                      double start1,
                      double inc1,
                      ParametricCurve2D curve2,
                      double start2,
                      double inc2,
                      boolean doCheck)
��‚̋�?��?A�I?[�o?[���b�v��Ԃ̂��ꂼ��̋�?�ł̃p���??[�^�͈͂�^���ăI�u�W�F�N�g��?\�z����?B

doCheck �̒l�͎Q?Ƃ��Ȃ�?B

Parameters:
curve1 - ���̋�?� (��?�1)
start1 - �I?[�o?[���b�v��Ԃ̋�?�1 �ł̃p���??[�^��Ԃ̊J�n�l
inc1 - �I?[�o?[���b�v��Ԃ̋�?�1 �ł̃p���??[�^��Ԃ̑?���l
curve2 - ���̋�?� (��?�2)
start2 - �I?[�o?[���b�v��Ԃ̋�?�2 �ł̃p���??[�^��Ԃ̊J�n�l
inc2 - �I?[�o?[���b�v��Ԃ̋�?�2 �ł̃p���??[�^��Ԃ̑?���l
doCheck - ��?��̃`�F�b�N�ⷂ邩�ǂ����̃t���O
Method Detail

curve1

public ParametricCurve2D curve1()
���̃I?[�o?[���b�v�̈��̋�?� (��?�1) ��Ԃ�?B

Returns:
��?�1

start1

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

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

end1

public double end1()
���̃I?[�o?[���b�v�̈��̋�?� (��?�1) �ł̃p���??[�^��Ԃ�?I���l��Ԃ�?B

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

increase1

public double increase1()
���̃I?[�o?[���b�v�̈��̋�?� (��?�1) �ł̃p���??[�^��Ԃ̑?���l��Ԃ�?B

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

curve2

public ParametricCurve2D curve2()
���̃I?[�o?[���b�v�̑���̋�?� (��?�2) ��Ԃ�?B

Returns:
��?�2

start2

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

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

end2

public double end2()
���̃I?[�o?[���b�v�̑���̋�?� (��?�2) �ł̃p���??[�^��Ԃ�?I���l��Ԃ�?B

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

increase2

public double increase2()
���̃I?[�o?[���b�v�̑���̋�?� (��?�2) �ł̃p���??[�^��Ԃ̑?���l��Ԃ�?B

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

isIntersectionPoint

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

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

isOverlapCurve

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

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

toIntersectionPoint

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

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

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

toOverlapCurve

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

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

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

exchange

public OverlapCurve2D exchange()
���̃I?[�o?[���b�v�� trc1 �� trc2 ��귂����I?[�o?[���b�v��Ԃ�?B

Returns:
trc1 �� trc2 ��귂����I?[�o?[���b�v

trim1

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

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

trim2

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

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

changeCurve1

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

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

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

changeCurve2

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

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

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

isFreeform

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

Overrides:
isFreeform in class GeometryElement
Returns:
trc1, trc2 ���Ƃ�Ɏ��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