org.jscience.mathematics.geometry
Class Conic2D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractParametricCurve
          extended by org.jscience.mathematics.geometry.ParametricCurve2D
              extended by org.jscience.mathematics.geometry.Conic2D
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Circle2D, Ellipse2D, Hyperbola2D, Parabola2D

public abstract class Conic2D
extends ParametricCurve2D

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

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

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

See Also:
Serialized Form

Constructor Summary
protected Conic2D(Axis2Placement2D position)
          ��?
 
Method Summary
protected static BsplineCurve2D convertPolyBezierCurvesToOneBsplineCurve(PureBezierCurve2D[] bezierCurves, boolean closed)
          ����~??
protected  Point2D[] getControlPointsOfBezierCurve(ParameterSection pint)
          ���̋�?
 PointOnCurve2D[] inflexion()
          ���̋�?
 Axis2Placement2D position()
          ���̉~??
 PointOnCurve2D[] singular()
          ���̋�?
 Polyline2D toPolyline(ParameterSection pint, ToleranceForDistance tol)
          ���̋�?
 
Methods inherited from class org.jscience.mathematics.geometry.ParametricCurve2D
checkProjection, commonNormal, commonTangent, coordinates, curvature, dimension, doTransformBy, evaluation, fillet, hasPolyline, identicalParameter, intersect, is2D, isComposedOfOnlyPolylines, nearestProjectFrom, nearestProjectWithDistanceFrom, offsetByBoundedCurve, offsetByBsplineCurve, pointToParameter, projectFrom, 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, length, parameterDomain
 
Methods inherited from class org.jscience.mathematics.geometry.GeometryElement
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is3D, 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

Conic2D

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

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

Parameters:
position - ��?S�Ƌ�?����̕����߂��?�?W�n
See Also:
InvalidArgumentValueException
Method Detail

toPolyline

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

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

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

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

position

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

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

singular

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

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

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

inflexion

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

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

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

getControlPointsOfBezierCurve

protected Point2D[] getControlPointsOfBezierCurve(ParameterSection pint)
���̋�?�̎w��̋�Ԃ�?Č����� (�L�?) �x�W�G��?��?���_���Ԃ�?B

?d�݂ɂ‚��Ă�?A���̃?�\�b�h�ł͊֒m���Ȃ�?B

������?���_��̗v�f?���?�� 3 �ł���?B

pint �̑?���l�͕��ł�?\��Ȃ�?B pint �̑?���l������?�?��ɂ�?A ������?���_�񂪕\���x�W�G��?��?i?s����?A���̋�?��?i?s���̋t�ɂȂ�?B

�Ȃ�?A�^����ꂽ��Ԃ��{�̃x�W�G��?��?Č��ł��Ȃ�?�?�?A �����錋�ʂ�?������Ȃ����Ƃɒ?��?B

Parameters:
pint - �x�W�G��?��?�����p���??[�^���
Returns:
��Ԃ�?Č�����x�W�G��?��?���_��

convertPolyBezierCurvesToOneBsplineCurve

protected static BsplineCurve2D convertPolyBezierCurvesToOneBsplineCurve(PureBezierCurve2D[] 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����?�