|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jscience.mathematics.geometry.GeometryElement
org.jscience.mathematics.geometry.AbstractParametricCurve
org.jscience.mathematics.geometry.ParametricCurve2D
org.jscience.mathematics.geometry.Line2D
public class Line2D
�Q���� : ��?��\���N���X?B
��?��?A?�?�̂����_ pnt �ƕ��x�N�g�� dir �Œ�`�����?B t ��p���??[�^�Ƃ��钼?� P(t) �̃p���?�g���b�N�\����?A�ȉ��̒ʂ�?BP(t) = pnt + t * dir��?��?u��?�?v�ł�?B ���̒�?�͖��Ȓ�?��\��?B �L�Ȓ�?��\������?�?��ɂ�
BoundedLine2D
��
TrimmedCurve2D
�����p�ł���?B
Constructor Summary | |
---|---|
Line2D(Point2D pnt1,
Point2D pnt2)
�ʉ߂����_��^���ăI�u�W�F�N�g��? |
|
Line2D(Point2D pnt,
Vector2D dir)
�t�B? |
Methods inherited from class org.jscience.mathematics.geometry.ParametricCurve2D |
---|
checkProjection, dimension, fillet, hasPolyline, identicalParameter, is2D, isComposedOfOnlyPolylines, nearestProjectFrom, nearestProjectWithDistanceFrom, pointToParameter, reverseTransformBy, 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, is3D, isFreeform, isPlacement, isPoint, isSurface, isTransformationOperator, isVector, makeIndent, output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Line2D(Point2D pnt, Vector2D dir)
pnt
- ?�?�̂����_ (�p���??[�^�l 0 �ɑΉ�����)dir
- ���x�N�g��ConditionOfOperation
,
InvalidArgumentValueException
public Line2D(Point2D pnt1, Point2D pnt2)
pnt = pnt1 dir = pnt2 - pnt1pnt1 �� pnt2 ��?A ��?�?ݒ肳��Ă��鉉�Z?�?�̋����̋��e��?��̉���?A ����̓_�ƌ��Ȃ���?�?��ɂ� InvalidArgumentValueException �̗�O��?�����?B
pnt1
- ?�?�̂����_ (�p���??[�^�l 0 �ɑΉ�����)pnt2
- ?�?�̂����_ (�p���??[�^�l 1 �ɑΉ�����)ConditionOfOperation
,
InvalidArgumentValueException
,
Point2D.identical(Point2D)
Method Detail |
---|
public Point2D pnt()
public Vector2D dir()
public double length(ParameterSection pint)
length
in class AbstractParametricCurve
pint
- ������?�߂�p���??[�^���
AbstractParametricCurve.parameterDomain()
public Point2D coordinates(double param)
coordinates
in class ParametricCurve2D
param
- �p���??[�^�l
public Vector2D tangentVector(double param)
tangentVector
in class ParametricCurve2D
param
- �p���??[�^�l
public CurveCurvature2D curvature(double param)
curvature
in class ParametricCurve2D
param
- �p���??[�^�l
public CurveDerivative2D evaluation(double param)
evaluation
in class ParametricCurve2D
param
- �p���??[�^�l
public PointOnCurve2D[] singular()
singular
in class ParametricCurve2D
public PointOnCurve2D[] inflexion()
inflexion
in class ParametricCurve2D
public PointOnCurve2D[] projectFrom(Point2D point)
ParametricCurve2D
�N���X��
��?ۃ?�\�b�h�Ƃ���?錾����Ă����̂ł��邪?A
���̃N���X�ɂ͓��e�_��?�߂�?�\�b�h�Ƃ���?A����
project1From(Point2D)
������?B
project1From(Point2D) ��?A
?u���e�_�̔z��?v�ł͂Ȃ�?A
�����������?u���e�_?v�⻂̂܂ܕԂ�?B
projectFrom
in class ParametricCurve2D
point
- ���e���̓_
project1From(Point2D)
public Polyline2D toPolyline(ParameterSection pint, ToleranceForDistance tol)
toPolyline
in class ParametricCurve2D
pint
- ��?�ߎ�����p���??[�^���tol
- �����̋��e��?�
PointOnCurve2D
public BsplineCurve2D toBsplineCurve(ParameterSection pint)
toBsplineCurve
in class ParametricCurve2D
pint
- �L�? Bspline ��?��?�����p���??[�^���
public IntersectionPoint2D[] intersect(ParametricCurve2D mate) throws IndefiniteSolutionException
intersect1Line(Line2D)
�Ɠ��l�ł���?B
intersect
in class ParametricCurve2D
mate
- ���̋�?�
IndefiniteSolutionException
- mate �Ҽ?��?A��?�̓I?[�o?[���b�v���Ă���?A�⪕s��ł���public IntersectionPoint2D intersect1Line(Line2D mate) throws IndefiniteSolutionException
mate
- ���̒�?�
IndefiniteSolutionException
- ��?�̓I?[�o?[���b�v���Ă���?A�⪕s��ł���ConditionOfOperation
,
Vector2D.parallelDirection(Vector2D)
public BsplineCurve2D offsetByBsplineCurve(ParameterSection pint, double magni, int side, ToleranceForDistance tol)
offsetByBsplineCurve
in class ParametricCurve2D
pint
- �I�t�Z�b�g����p���??[�^���magni
- �I�t�Z�b�g��side
- �I�t�Z�b�g�̌� (WhichSide.LEFT/RIGHT)tol
- �����̋��e��?�
WhichSide
public BoundedCurve2D offsetByBoundedCurve(ParameterSection pint, double magni, int side, ToleranceForDistance tol)
BoundedLine2D
�̃C���X�^���X�ł���?B
�Ȃ�?A
���ʂƂ��ĕԂ����L��?��?A
���̒�?�̎w�肳�ꂽ��Ԃ̃I�t�Z�b�g��?u�ߎ�?v�ł͂Ȃ�?A
������?u?Č�?v�ł���?B
���̃?�\�b�h�̓Ք�ł� tol �̒l�͎Q?Ƃ��Ȃ�?B
offsetByBoundedCurve
in class ParametricCurve2D
pint
- �I�t�Z�b�g����p���??[�^���magni
- �I�t�Z�b�g��side
- �I�t�Z�b�g�̌� (WhichSide.LEFT/RIGHT)tol
- �����̋��e��?�
WhichSide
public CommonTangent2D[] commonTangent(ParametricCurve2D mate)
commonTangent
in class ParametricCurve2D
mate
- ���̋�?�
java.lang.UnsupportedOperationException
- ���܂̂Ƃ���?A������Ȃ��@�\�ł���public CommonNormal2D[] commonNormal(ParametricCurve2D mate)
commonNormal
in class ParametricCurve2D
mate
- ���̋�?�
java.lang.UnsupportedOperationException
- ���܂̂Ƃ���?A������Ȃ��@�\�ł���public PointOnCurve2D project1From(Point2D point)
point
- ���e���̓_
projectFrom(Point2D)
protected ParametricCurve2D doTransformBy(boolean reverseTransform, CartesianTransformationOperator2D transformationOperator, java.util.Hashtable transformedGeometries)
doTransformBy
in class ParametricCurve2D
reverseTransform
- �t�ϊ�����̂ł���� true?A�����łȂ���� falsetransformationOperator
- �I�ϊ����Z�qtransformedGeometries
- ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
protected void output(java.io.PrintWriter writer, int indent)
output
in class GeometryElement
writer
- PrintWriterindent
- �C���f���g��?[��GeometryElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |