org.jscience.mathematics.geometry
Class BoundedCurve2D

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.BoundedCurve2D
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BoundedLine2D, CompositeCurve2D, CompositeCurveSegment2D, FreeformCurveWithControlPoints2D, Polyline2D, TrimmedCurve2D

public abstract class BoundedCurve2D
extends ParametricCurve2D

�Q���� : �L�ȋ�?��\����?ۃN���X?B

���̃N���X�ɂ̓C���X�^���X���?�‚ׂ���?��͂Ȃ�?B

See Also:
Serialized Form

Constructor Summary
protected BoundedCurve2D()
          ����^�����ɃI�u�W�F�N�g��?
 
Method Summary
 Point2D endPoint()
          ���̗L� �?
 FilletObject2D[] fillet(int side1, BoundedCurve2D mate, int side2, double radius)
          ���̗L� �?
abstract  CurveCurveInterference2D[] interfere(BoundedCurve2D mate)
          ���̗L� �?
 double length()
          ���̗L� �?
 BoundedCurve2D offsetByBoundedCurve(double magni, int side, ToleranceForDistance tol)
          ���̗L� �?
 BsplineCurve2D offsetByBsplineCurve(double magni, int side, ToleranceForDistance tol)
          ���̗L� �?
 Point2D startPoint()
          ���̗L� �?
 BsplineCurve2D toBsplineCurve()
          ���̗L� �?
 Polyline2D toPolyline(ToleranceForDistance tolerance)
          ���̗L� �?
 
Methods inherited from class org.jscience.mathematics.geometry.ParametricCurve2D
checkProjection, commonNormal, commonTangent, coordinates, curvature, dimension, doTransformBy, evaluation, fillet, hasPolyline, identicalParameter, inflexion, intersect, is2D, isComposedOfOnlyPolylines, nearestProjectFrom, nearestProjectWithDistanceFrom, offsetByBoundedCurve, offsetByBsplineCurve, pointToParameter, projectFrom, reverseTransformBy, singular, tangentVector, toBsplineCurve, toPolyline, 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

BoundedCurve2D

protected BoundedCurve2D()
����^�����ɃI�u�W�F�N�g��?\�z����?B

Method Detail

length

public double length()
���̗L� �?�S�̂̎ ��?�ł̒��� (���̂�) ��Ԃ�?B

[�Ք?��?]
��?g�̃p���??[�^��`�� section ��^���� this.length(section) ��Ă�?o��?B

Returns:
��?�S�̂̒���

toPolyline

public Polyline2D toPolyline(ToleranceForDistance tolerance)
���̗L� �?�S�̂�?A�^����ꂽ��?��Œ�?�ߎ�����|�����C����Ԃ�?B

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

[�Ք?��?]
��?g�̃p���??[�^��`�� section ��^���� this.toPolyline(section, tolerance) ��Ă�?o��?B

Parameters:
tolerance - �����̋��e��?�
Returns:
���̋�?�S�̂�?�ߎ�����|�����C��
See Also:
PointOnCurve2D

toBsplineCurve

public BsplineCurve2D toBsplineCurve()
���̗L� �?�S�̂쵖���?Č�����L�? Bspline ��?��Ԃ�?B

[�Ք?��?]
��?g�̃p���??[�^��`�� section ��^���� this.toBsplineCurve(section) ��Ă�?o��?B

Returns:
���̋�?�S�̂�?Č�����L�? Bspline ��?�

offsetByBsplineCurve

public BsplineCurve2D offsetByBsplineCurve(double magni,
                                           int side,
                                           ToleranceForDistance tol)
���̗L� �?�S�̂�I�t�Z�b�g������?��?A �^����ꂽ��?��ŋߎ����� Bspline ��?��?�߂�?B

[�Ք?��?]
��?g�̃p���??[�^��`�� section ��^���� this.offsetByBsplineCurve(section, magni, side, tol) ��Ă�?o��?B

Parameters:
magni - �I�t�Z�b�g��
side - �I�t�Z�b�g�̌� (WhichSide.LEFT/RIGHT)
tol - �����̋��e��?�
Returns:
���̋�?�S�̂̃I�t�Z�b�g��?��ߎ����� Bspline ��?�
See Also:
WhichSide

offsetByBoundedCurve

public BoundedCurve2D offsetByBoundedCurve(double magni,
                                           int side,
                                           ToleranceForDistance tol)
���̗L� �?�S�̂�I�t�Z�b�g������?��?A �^����ꂽ��?��ŋߎ�����L� �?��?�߂�?B

[�Ք?��?]
��?g�̃p���??[�^��`�� section ��^���� this.offsetByBoundedCurve(section, magni, side, tol) ��Ă�?o��?B

Parameters:
magni - �I�t�Z�b�g��
side - �I�t�Z�b�g�̌� (WhichSide.LEFT/RIGHT)
tol - �����̋��e��?�
Returns:
���̋�?�S�̂̃I�t�Z�b�g��?��ߎ�����L� �?�
See Also:
WhichSide

fillet

public FilletObject2D[] fillet(int side1,
                               BoundedCurve2D mate,
                               int side2,
                               double radius)
                        throws IndefiniteSolutionException
���̗L� �?�S�̂Ƒ��̗L� �?�S�̂ɂ�����t�B���b�g��?�߂�?B

�t�B���b�g����?݂��Ȃ�?�?��ɂ͒��� 0 �̔z���Ԃ�?B

[�Ք?��?]
��?g�̃p���??[�^��`�� thisSection �� ���̗L� �?�̃p���??[�^��`�� mateSection ��^���� this.fillet(thisSection, side1, mate, mateSection, side2, radius) ��Ă�?o��?B

Parameters:
side1 - ���̋�?�̂ǂ��瑤�Ƀt�B���b�g��?�߂邩���t���O (WhichSide.LEFT�Ȃ��?���?ARIGHT�Ȃ�ΉE��?ABOTH�Ȃ�Η���)
mate - ���̗L� �?�
side2 - ���̗L� �?�̂ǂ��瑤�Ƀt�B���b�g��?�߂邩���t���O (WhichSide.LEFT�Ȃ��?���?ARIGHT�Ȃ�ΉE��?ABOTH�Ȃ�Η���)
radius - �t�B���b�g���a
Returns:
�t�B���b�g�̔z��
Throws:
IndefiniteSolutionException - ��s�� (��������?�ł͔�?����Ȃ�)
See Also:
WhichSide

interfere

public abstract CurveCurveInterference2D[] interfere(BoundedCurve2D mate)
���̗L� �?�Ƒ��̗L� �?�̊�?‚�?�߂钊?ۃ?�\�b�h?B

��?‚���?݂��Ȃ�?�?��ɂ͒��� 0 �̔z���Ԃ�?B

Parameters:
mate - ���̗L� �?�
Returns:
���?�̊�?‚̔z��

startPoint

public Point2D startPoint()
���̗L� �?�̊J�n�_��Ԃ�?B

��?�‚����`����?�?��� null ��Ԃ�?B

Returns:
�J�n�_

endPoint

public Point2D endPoint()
���̗L� �?��?I���_��Ԃ�

��?�‚����`����?�?��� null ��Ԃ�?B

Returns:
?I���_