org.jscience.mathematics.geometry
Class IntersectionPoint3D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractPoint
          extended by org.jscience.mathematics.geometry.Point3D
              extended by org.jscience.mathematics.geometry.IntersectionPoint3D
All Implemented Interfaces:
java.io.Serializable, CurveCurveInterference3D, Interference3D, SurfaceSurfaceInterference3D

public class IntersectionPoint3D
extends Point3D
implements CurveCurveInterference3D, SurfaceSurfaceInterference3D

�R���� : ��􉽗v�f�̌�_��\���N���X

���̃N���X�̃C���X�^���X��?A ��_�̎ ��?�ł�?W�l���_ coordinates?A ���̊􉽗v�f?�ł̈ʒu���_ pointOnGeometry1?A ����̊􉽗v�f?�ł̈ʒu���_ pointOnGeometry2 ��ێ?����?B

See Also:
OverlapCurve3D, Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.geometry.Point3D
origin
 
Method Summary
 CurveCurveInterference3D changeCurve1(ParametricCurve3D newCurve)
          ���̊�?
 CurveCurveInterference3D changeCurve2(ParametricCurve3D newCurve)
          ���̊�?
 Point3D coordinates()
          ���̌�_�̎ ��?
protected  Point3D doTransformBy(boolean reverseTransform, CartesianTransformationOperator3D transformationOperator, java.util.Hashtable transformedGeometries)
          ���̓_��?
 IntersectionPoint3D exchange()
          ���̌�_�� pointOnGeometry1 �� pointOnGeometry2 ��귂�����_��Ԃ�?
 boolean isIntersectionCurve()
          ���̊�?
 boolean isIntersectionPoint()
          ���̊�?
 boolean isOverlapCurve()
          ���̊�?
protected  void output(java.io.PrintWriter writer, int indent)
          ?
 PointOnCurve3D pointOnCurve1()
          ���̌�_�̊􉽗v�f1 ���?
 PointOnCurve3D pointOnCurve2()
          ���̌�_�̊􉽗v�f2 ���?
 PointOnGeometry3D pointOnGeometry1()
          ���̌�_�̊􉽗v�f1 ?
 PointOnGeometry3D pointOnGeometry2()
          ���̌�_�̊􉽗v�f2 ?
 PointOnSurface3D pointOnSurface1()
          ���̌�_�̊􉽗v�f1 ��Ȗʂł����̂Ƃ���?
 PointOnSurface3D pointOnSurface2()
          ���̌�_�̊􉽗v�f2 ��Ȗʂł����̂Ƃ���?
 IntersectionCurve3D toIntersectionCurve()
          ���̊�?
 IntersectionPoint3D toIntersectionPoint()
          ���̊�?
 OverlapCurve3D toOverlapCurve()
          ���̊�?
 CurveCurveInterference3D trim1(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion3D conv)
          ���̊�?
 CurveCurveInterference3D trim2(ParameterSection sec, org.jscience.mathematics.geometry.ParameterConversion3D conv)
          ���̊�?
 double x()
          ���̓_�� X ?
 double y()
          ���̓_�� Y ?
 double z()
          ���̓_�� Z ?
 
Methods inherited from class org.jscience.mathematics.geometry.Point3D
add, dimension, distance, distance2, divide, identical, is3D, isOn, isOn, linearInterpolate, longestPoint, longestPoint, midPoint, multiply, of, of, project, reverseTransform, reverseTransformBy, subtract, subtract, toVector3D, toVector3D, 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, is2D, 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 Point3D
Returns:
�_�� X ?W�l

y

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

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

z

public double z()
���̓_�� Z ?W�l��Ԃ�?B

Specified by:
z in class Point3D
Returns:
�_�� Z ?W�l

coordinates

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

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

pointOnGeometry1

public PointOnGeometry3D pointOnGeometry1()
���̌�_�̊􉽗v�f1 ?�ł̈ʒu��Ԃ�?B

Returns:
�􉽗v�f1 ?�ł̈ʒu

pointOnGeometry2

public PointOnGeometry3D pointOnGeometry2()
���̌�_�̊􉽗v�f2 ?�ł̈ʒu��Ԃ�?B

Returns:
�􉽗v�f2 ?�ł̈ʒu

pointOnCurve1

public PointOnCurve3D pointOnCurve1()
���̌�_�̊􉽗v�f1 ���?�ł����̂Ƃ���?A��?�1 ?�̈ʒu��Ԃ�?B

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

pointOnCurve2

public PointOnCurve3D pointOnCurve2()
���̌�_�̊􉽗v�f2 ���?�ł����̂Ƃ���?A��?�2 ?�̈ʒu��Ԃ�?B

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

pointOnSurface1

public PointOnSurface3D pointOnSurface1()
���̌�_�̊􉽗v�f1 ��Ȗʂł����̂Ƃ���?A�Ȗ�1 ?�̈ʒu��Ԃ�?B

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

pointOnSurface2

public PointOnSurface3D pointOnSurface2()
���̌�_�̊􉽗v�f2 ��Ȗʂł����̂Ƃ���?A�Ȗ�2 ?�̈ʒu��Ԃ�?B

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

isIntersectionPoint

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

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

isOverlapCurve

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

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

isIntersectionCurve

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

Specified by:
isIntersectionCurve in interface SurfaceSurfaceInterference3D
Returns:
��?�ł͂Ȃ���_�Ȃ̂�?A?�� false
See Also:
isIntersectionPoint()

toIntersectionPoint

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

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

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

toOverlapCurve

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

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

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

toIntersectionCurve

public IntersectionCurve3D toIntersectionCurve()
���̊�?‚��?�ɕϊ�����?B

��_���?�ɕϊ����邱�Ƃ͂ł��Ȃ��̂� null ��Ԃ�?B

Specified by:
toIntersectionCurve in interface SurfaceSurfaceInterference3D
Returns:
?�� null

exchange

public IntersectionPoint3D exchange()
���̌�_�� pointOnGeometry1 �� pointOnGeometry2 ��귂�����_��Ԃ�?B

Returns:
pointOnGeometry1 �� pointOnGeometry2 ��귂�����_

trim1

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

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

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

doTransformBy

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

Specified by:
doTransformBy in class Point3D
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