org.jscience.mathematics.geometry
Class IntersectionPoint2D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractPoint
          extended by org.jscience.mathematics.geometry.Point2D
              extended by org.jscience.mathematics.geometry.IntersectionPoint2D
All Implemented Interfaces:
java.io.Serializable, CurveCurveInterference2D, Interference2D

public class IntersectionPoint2D
extends Point2D
implements CurveCurveInterference2D

�Q���� : ���?�̌�_��\���N���X?B

���̃N���X�̃C���X�^���X��?A ��_�̎ ��?�ł�?W�l���_ coordinates?A ���̋�?�?�ł̈ʒu��?�?�_ pointOnCurve1?A ����̋�?�?�ł̈ʒu��?�?�_ pointOnCurve2 ��ێ?����?B

See Also:
OverlapCurve2D, Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.geometry.Point2D
origin
 
Method Summary
 CurveCurveInterference2D changeCurve1(ParametricCurve2D newCurve)
          ���̊�?
 CurveCurveInterference2D changeCurve2(ParametricCurve2D newCurve)
          ���̊�?
 Point2D coordinates()
          ���̌�_�̎ ��?
protected  Point2D doTransformBy(boolean reverseTransform, CartesianTransformationOperator2D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
 IntersectionPoint2D exchange()
          ���̌�_�� pointOnCurve1 �� pointOnCurve2 ��귂�����_��Ԃ�?
 boolean isIntersectionPoint()
          ���̊�?
 boolean isOverlapCurve()
          ���̊�?
protected  void output(java.io.PrintWriter writer, int indent)
          ?
 PointOnCurve2D pointOnCurve1()
          ���̌�_�̋�?
 PointOnCurve2D pointOnCurve2()
          ���̌�_�̋�?
 IntersectionPoint2D toIntersectionPoint()
          ���̊�?
 OverlapCurve2D toOverlapCurve()
          ���̊�?
 CurveCurveInterference2D trim1(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion2D conv)
          ���̊�?
 CurveCurveInterference2D trim2(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion2D conv)
          ���̊�?
 double x()
          ���̓_�� X ?
 double y()
          ���̓_�� Y ?
 
Methods inherited from class org.jscience.mathematics.geometry.Point2D
add, center, center, dimension, distance, distance2, divide, identical, is2D, isIn, isInsideOf, isOn, linearInterpolate, longestPoint, longestPoint, midPoint, multiply, of, of, project, reverseTransform, reverseTransformBy, subtract, subtract, toVector2D, 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, is3D, 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
 

Method Detail

x

public double x()
���̓_�� X ?W�l��Ԃ�?B

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

y

public double y()
���̓_�� Y ?W�l��Ԃ�?B

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

coordinates

public Point2D coordinates()
���̌�_�̎ ��?�ł�?W�l��Ԃ�?B

Returns:
� ��?�ł�?W�l

pointOnCurve1

public PointOnCurve2D pointOnCurve1()
���̌�_�̋�?�1 ?�ł̈ʒu��Ԃ�?B

Returns:
��?�1 ?�ł̈ʒu

pointOnCurve2

public PointOnCurve2D pointOnCurve2()
���̌�_�̋�?�2 ?�ł̈ʒu��Ԃ�?B

Returns:
��?�2 ?�ł̈ʒu

isIntersectionPoint

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

Specified by:
isIntersectionPoint in interface Interference2D
Returns:
��_�Ȃ̂�?A?�� true
See Also:
isOverlapCurve()

isOverlapCurve

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

Specified by:
isOverlapCurve in interface CurveCurveInterference2D
Returns:
�I?[�o?[���b�v�ł͂Ȃ���_�Ȃ̂�?A?�� false
See Also:
isIntersectionPoint()

toIntersectionPoint

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

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

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

toOverlapCurve

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

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

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

exchange

public IntersectionPoint2D exchange()
���̌�_�� pointOnCurve1 �� pointOnCurve2 ��귂�����_��Ԃ�?B

Returns:
pointOnCurve1 �� pointOnCurve2 ��귂�����_

trim1

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

���̌�_�� pointOnCurve1 �̃p���??[�^�l�� sec �͈̔͂�O��Ă���?�?��ɂ� null ��Ԃ�?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

���̌�_�� pointOnCurve2 �̃p���??[�^�l�� sec �͈̔͂�O��Ă���?�?��ɂ� null ��Ԃ�?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����������?�

doTransformBy

protected Point2D doTransformBy(boolean reverseTransform,
                                CartesianTransformationOperator2D 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 Point2D
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