org.jscience.mathematics.geometry
Class Conic3D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractParametricCurve
          extended by org.jscience.mathematics.geometry.ParametricCurve3D
              extended by org.jscience.mathematics.geometry.Conic3D
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Circle3D, Ellipse3D, Hyperbola3D, Parabola3D

public abstract class Conic3D
extends ParametricCurve3D

�R���� : �~??��?�̃N���X�K�w�̃�?[�g�ƂȂ钊?ۃN���X?B

���̃N���X�̃C���X�^���X��?A �~??��?�̈ʒu�ƌX���숒肷���?�?W�n (�z�u?��?AAxis2Placement3D) position ��ێ?����?B

position �� null �ł��BĂ͂Ȃ�Ȃ�?B

See Also:
Serialized Form

Constructor Summary
protected Conic3D(Axis2Placement3D position)
          ��?
 
Method Summary
protected static BsplineCurve3D convertPolyBezierCurvesToOneBsplineCurve(PureBezierCurve3D[] bezierCurves, boolean closed)
          ����~??
 PointOnCurve3D[] inflexion()
          ���̋�?
 IntersectionPoint3D[] intersect(ParametricSurface3D mate)
          ���̋�?
 double length(ParameterSection pint)
          �^����ꂽ�p���??
 Axis2Placement3D position()
          ���̉~??
 PointOnCurve3D[] projectFrom(Point3D point)
          �^����ꂽ�_���炱�̋�?
 PointOnCurve3D[] singular()
          ���̋�?
protected  CartesianTransformationOperator3D toGlobal()
          �X�P?
 Polyline3D toPolyline(ParameterSection pint, ToleranceForDistance tol)
          ���̋�?
 double torsion(double param)
          ���̋�?
 
Methods inherited from class org.jscience.mathematics.geometry.ParametricCurve3D
checkProjection, coordinates, curvature, dimension, doTransformBy, evaluation, hasPolyline, identicalParameter, intersect, is3D, isComposedOfOnlyPolylines, nearestProjectFrom, nearestProjectWithDistanceFrom, parallelTranslate, pointToParameter, reverseTransformBy, tangentVector, toBsplineCurve, transformBy, transformBy
 
Methods inherited from class org.jscience.mathematics.geometry.AbstractParametricCurve
checkValidity, checkValidity, isClosed, isCurve, isFinite, isInfinite, isNonPeriodic, isOpen, isParametric, isPeriodic, isValid, parameterDomain
 
Methods inherited from class org.jscience.mathematics.geometry.GeometryElement
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is2D, isFreeform, isPlacement, isPoint, isSurface, isTransformationOperator, isVector, makeIndent, output, output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conic3D

protected Conic3D(Axis2Placement3D position)
��?�?W�n��w�肵�ăI�u�W�F�N�g��?\�z����?B

position �� null ��?�?��ɂ�?A InvalidArgumentValueException �̗�O��?�����?B

Parameters:
position - ��?S�Ǝ����
See Also:
InvalidArgumentValueException
Method Detail

toGlobal

protected CartesianTransformationOperator3D toGlobal()
�X�P?[�����O�l�� 1 �Ƃ���?A ���̉~??��?�̋�?�?W�n������I��?W�n�ւ̕ϊ���?s�Ȃ����Z�q��Ԃ�?B

Returns:
��?�?W�n������I��?W�n�ւ̕ϊ���?s�Ȃ����Z�q

length

public double length(ParameterSection pint)
�^����ꂽ�p���??[�^��Ԃɂ����邱�̋�?�̎ ��?�ł̒��� (���̂�) ��Ԃ�?B

Specified by:
length in class AbstractParametricCurve
Parameters:
pint - ��?�̒�����?�߂�p���??[�^���
Returns:
�w�肳�ꂽ�p���??[�^��Ԃɂ������?�̒���
See Also:
AbstractParametricCurve.parameterDomain()

toPolyline

public Polyline3D toPolyline(ParameterSection pint,
                             ToleranceForDistance tol)
���̋�?�̎w��̋�Ԃ�?A�^����ꂽ��?��Œ�?�ߎ�����|�����C����Ԃ�?B

���ʂƂ��ĕԂ����|�����C����?\?�����_�� PointOnCurve3D �� ���邱�Ƃ��҂ł���?B

�Ȃ�?A���ʂƂ��ē�����|�����C�����_��?k�ނ���悤��?�?��ɂ� ZeroLengthException �̗�O��?�����?B

Specified by:
toPolyline in class ParametricCurve3D
Parameters:
pint - ��?�ߎ�����p���??[�^���
tol - �����̋��e��?�
Returns:
���̋�?�̎w��̋�Ԃ�?�ߎ�����|�����C��
See Also:
PointOnCurve3D, ZeroLengthException

projectFrom

public PointOnCurve3D[] projectFrom(Point3D point)
                             throws IndefiniteSolutionException
�^����ꂽ�_���炱�̋�?�ւ̓��e�_��?�߂�?B

���e�_����?݂��Ȃ��Ƃ��͒��� 0 �̔z���Ԃ�?B

���̋�?�~�ł���Ƃ�?A �^����ꂽ�_�Ƃ��̉~�̒�?S�Ƃ̋�����?A ��?�?ݒ肳��Ă��鉉�Z?�?�̋����̋��e��?����� ?�����?�?��ɂ�?A �p���??[�^�l 0 �̓_�� suitable �Ƃ��� IndefiniteSolutionException �̗�O�𓊂���?B

[�Ք?��?]

Specified by:
projectFrom in class ParametricCurve3D
Parameters:
point - ���e���̓_
Returns:
���e�_�̔z��
Throws:
IndefiniteSolutionException - �⪕s�� (��?�~�ł���?A���e���̓_���~�̒�?S�Ɉ�v����)

position

public Axis2Placement3D position()
���̉~??��?��?u��?S?v�Ƌ�?����̕��숒肵�Ă����?�?W�n��Ԃ�?B

Returns:
��?S�Ƌ�?����̕�����?�?W�n

torsion

public double torsion(double param)
���̋�?��?A�^����ꂽ�p���??[�^�l�ł̃��C����Ԃ�?B

�~??��?��?�����Ă��Ȃ��̂�?A?�� 0 ��Ԃ�?B

Specified by:
torsion in class ParametricCurve3D
Parameters:
param - �p���??[�^�l
Returns:
���C��

singular

public PointOnCurve3D[] singular()
���̋�?�̓Hٓ_��Ԃ�?B

�~??��?�ɂ͓Hٓ_�͑�?݂��Ȃ��̂�?A?�ɒ��� 0 �̔z���Ԃ�?B

Specified by:
singular in class ParametricCurve3D
Returns:
�Hٓ_�̔z��

inflexion

public PointOnCurve3D[] inflexion()
���̋�?�̕ϋȓ_��Ԃ�?B

�~??��?�ɂ͕ϋȓ_�͑�?݂��Ȃ��̂�?A?�ɒ��� 0 �̔z���Ԃ�?B

Specified by:
inflexion in class ParametricCurve3D
Returns:
�ϋȓ_�̔z��

intersect

public IntersectionPoint3D[] intersect(ParametricSurface3D mate)
                                throws IndefiniteSolutionException
���̋�?�Ƒ��̋Ȗʂ̌�_��?�߂�?B

��_����?݂��Ȃ��Ƃ��͒��� 0 �̔z���Ԃ�?B

Specified by:
intersect in class ParametricCurve3D
Parameters:
mate - ���̋Ȗ�
Returns:
��_�̔z��
Throws:
IndefiniteSolutionException - �⪕s��ł���

convertPolyBezierCurvesToOneBsplineCurve

protected static BsplineCurve3D convertPolyBezierCurvesToOneBsplineCurve(PureBezierCurve3D[] bezierCurves,
                                                                         boolean closed)
����~??��?�̈ꕔ��?Č�����L�?�x�W�G��?����{�̗L�?�a�X�v���C����?�ɕϊ�����?B

�^������L�?�x�W�G��?���?A����~??��?�̈ꕔ��?Č�������̂�?A ��?��̗v�f?��� 1 �Ȃ��� 3 �ł���?A �e�v�f�͂��ׂĂQ����?�ł����̂Ƒz�肵�Ă���?B

����?��̂���?A���̃?�\�b�h��?A �x�W�G��?�邢�͂a�X�v���C����?�̃N���X�ɒu���ׂ��ł͂Ȃ���?l����?B

Parameters:
bezierCurves - (����~??��?�̈ꕔ��?Č�����) �L�?�x�W�G��?��
closed - �L�?�x�W�G��?�񂪕‚��Ă���� true?A�����łȂ���� false
Returns:
�L�?�a�X�v���C����?�