|
|||||||||
| 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.ParametricCurve3D
org.jscience.mathematics.geometry.BoundedCurve3D
org.jscience.mathematics.geometry.Polyline3D
public class Polyline3D
�R���� : �|�����C����\���N���X?B
�|�����C����?A?ߓ_�̗� points �� �����`�����ۂ���\���t���O closed �Œ�`�����?B closed �̒l�� true �ł���Ε����`���Ƃ���?Afalse �ł���ΊJ�����`���Ƃ��Ĉ�����?B �����`���̃|�����C����?A ?��?�?���?Ō��?ߓ_�싂�?�����̂Ƃ��Ĉ�����?B �|�����C���̃p���??[�^��`���?A ��?ڂ���?ߓ_�̊Ԃ̃p���??[�^��Ԃ̑傫����?�� 1 �Ƃ���?A ��?�S��ł� [0, N] �ƂȂ�?B ������ N ��?A �|�����C�����J�����`���ł���� (?ߓ_��?� - 1)?A �����`���ł���� (?ߓ_��?�) �ɂȂ�?B t ��p���??[�^�Ƃ���|�����C�� P(t) �̃p���?�g���b�N�\����?A�ȉ��̒ʂ�?B
P(t) = (1 - (t - s)) * points[s] + (t - s) * points[s + 1]
������ s �� t ��z���Ȃ�?ő��?�?�?B
| Constructor Summary | |
|---|---|
Polyline3D(BoundedCurve3D curve,
ToleranceForDistance tol)
�^����ꂽ�L��? |
|
Polyline3D(ParametricCurve3D curve,
ParameterSection pint,
ToleranceForDistance tol)
�^����ꂽ��? |
|
Polyline3D(Point3D[] points)
? |
|
Polyline3D(Point3D[] points,
boolean closed)
? |
|
| Method Summary | |
|---|---|
boolean |
closed()
���̃|�����C���������`���ł��邩�ۂ���Ԃ�? |
Point3D |
coordinates(double param)
���̋�? |
CurveCurvature3D |
curvature(double param)
���̋�? |
protected ParametricCurve3D |
doTransformBy(boolean reverseTransform,
CartesianTransformationOperator3D transformationOperator,
java.util.Hashtable transformedGeometries)
���̋�? |
Point3D |
endPoint()
���̗L��? |
CurveDerivative3D |
evaluation(double param)
���̋�? |
protected boolean |
hasPolyline()
���̋�? |
PointOnCurve3D[] |
inflexion()
���̋�? |
CurveCurveInterference3D[] |
interfere(BoundedCurve3D mate)
���̗L��? |
IntersectionPoint3D[] |
intersect(ParametricCurve3D mate)
���̋�? |
IntersectionPoint3D[] |
intersect(ParametricSurface3D mate)
���̋�? |
protected boolean |
isComposedOfOnlyPolylines()
���̋�? |
boolean |
isFreeform()
���̊v�f�����R�`? |
double |
length(ParameterSection pint)
�^����ꂽ�p���?? |
int |
nPoints()
���̃|�����C����? |
int |
nSegments()
���̃|�����C���̃Z�O�? |
protected void |
output(java.io.PrintWriter writer,
int indent)
? |
ParametricCurve3D |
parallelTranslate(Vector3D moveVec)
���̋�? |
Point3D |
pointAt(int i)
���̃|�����C���� i �Ԃ߂�? |
Point3D[] |
points()
���̃|�����C����? |
PointOnCurve3D[] |
projectFrom(Point3D point)
�^����ꂽ�_���炱�̋�? |
CurveCurveInterference3D[] |
selfInterfere()
���̃|�����C���̎��Ȋ�? |
IntersectionPoint3D[] |
selfIntersect()
���̃|�����C���̎��Ȍ�? |
PointOnCurve3D[] |
singular()
���̋�? |
Point3D |
startPoint()
���̗L��? |
Vector3D |
tangentVector(double param)
���̋�? |
BoundedLine3D[] |
toBoundedLines()
���̃|�����C���S�̂�? |
BoundedLine3D[] |
toBoundedLines(ParameterSection pint)
���̃|�����C���̎w��̋�Ԃ�? |
BsplineCurve3D |
toBsplineCurve()
���̗L��? |
BsplineCurve3D |
toBsplineCurve(ParameterSection pint)
���̋�? |
Polyline3D |
toPolyline(ParameterSection pint,
ToleranceForDistance tol)
���̋�? |
double |
torsion(double param)
���̋�? |
| Methods inherited from class org.jscience.mathematics.geometry.BoundedCurve3D |
|---|
length, toPolyline |
| Methods inherited from class org.jscience.mathematics.geometry.ParametricCurve3D |
|---|
checkProjection, dimension, identicalParameter, is3D, 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, is2D, 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 Polyline3D(Point3D[] points,
boolean closed)
points - ?ߓ_�̔z��closed - ���Ă��邩�ۂ���\���t���OInvalidArgumentValueExceptionpublic Polyline3D(Point3D[] points)
points - ?ߓ_�̔z��InvalidArgumentValueException
public Polyline3D(BoundedCurve3D curve,
ToleranceForDistance tol)
curve - ��?�tol - �����̋��e��?�BoundedCurve3D.toPolyline(ToleranceForDistance)
public Polyline3D(ParametricCurve3D curve,
ParameterSection pint,
ToleranceForDistance tol)
curve - ��?�pint - ��?�ߎ�����p���??[�^���tol - �����̋��e��?�ParametricCurve3D.toPolyline(ParameterSection,ToleranceForDistance)| Method Detail |
|---|
public Point3D[] points()
public Point3D pointAt(int i)
public boolean closed()
public int nPoints()
public int nSegments()
public double length(ParameterSection pint)
length in class AbstractParametricCurvepint - ��?�̒�����?�߂�p���??[�^���
ParameterOutOfRangepublic Point3D coordinates(double param)
coordinates in class ParametricCurve3Dparam - �p���??[�^�l
AbstractParametricCurve.checkValidity(double),
ParameterOutOfRangepublic Vector3D tangentVector(double param)
tangentVector in class ParametricCurve3Dparam - �p���??[�^�l
AbstractParametricCurve.checkValidity(double),
ParameterOutOfRangepublic CurveCurvature3D curvature(double param)
curvature in class ParametricCurve3Dparam - �p���??[�^�l
AbstractParametricCurve.checkValidity(double),
ParameterOutOfRangepublic double torsion(double param)
torsion in class ParametricCurve3Dparam - �p���??[�^�l
AbstractParametricCurve.checkValidity(double),
ParameterOutOfRangepublic CurveDerivative3D evaluation(double param)
evaluation in class ParametricCurve3Dparam - �p���??[�^�l
AbstractParametricCurve.checkValidity(double),
ParameterOutOfRangepublic PointOnCurve3D[] singular()
singular in class ParametricCurve3Dpublic PointOnCurve3D[] inflexion()
inflexion in class ParametricCurve3Dpublic PointOnCurve3D[] projectFrom(Point3D point)
projectFrom in class ParametricCurve3Dpoint - ���e���̓_
public Polyline3D toPolyline(ParameterSection pint,
ToleranceForDistance tol)
toPolyline in class ParametricCurve3Dpint - ��?�ߎ�����p���??[�^���tol - �����̋��e��?�
PointOnCurve3Dpublic BsplineCurve3D toBsplineCurve()
toBsplineCurve in class BoundedCurve3Dpublic BsplineCurve3D toBsplineCurve(ParameterSection pint)
toBsplineCurve in class ParametricCurve3Dpint - �L�? Bspline ��?��?�����p���??[�^���
public IntersectionPoint3D[] intersect(ParametricCurve3D mate)
throws IndefiniteSolutionException
intersect in class ParametricCurve3Dmate - ���̋�?�
IndefiniteSolutionException - �⪕s��ł���public IntersectionPoint3D[] intersect(ParametricSurface3D mate)
intersect in class ParametricCurve3Dmate - ���̋Ȗ�
public CurveCurveInterference3D[] interfere(BoundedCurve3D mate)
interfere in class BoundedCurve3Dmate - ���̋�?�
public IntersectionPoint3D[] selfIntersect()
public CurveCurveInterference3D[] selfInterfere()
public ParametricCurve3D parallelTranslate(Vector3D moveVec)
parallelTranslate in class ParametricCurve3DmoveVec - ��?s�ړ��̕��Ɨʂ�\���x�N�g��
public boolean isFreeform()
isFreeform in class GeometryElementpublic Point3D startPoint()
startPoint in class BoundedCurve3Dpublic Point3D endPoint()
endPoint in class BoundedCurve3Dpublic BoundedLine3D[] toBoundedLines(ParameterSection pint)
pint - ?��ɕϊ�����p���??[�^���
public BoundedLine3D[] toBoundedLines()
protected ParametricCurve3D doTransformBy(boolean reverseTransform,
CartesianTransformationOperator3D transformationOperator,
java.util.Hashtable transformedGeometries)
doTransformBy in class ParametricCurve3DreverseTransform - �t�ϊ�����̂ł���� true?A�����łȂ���� falsetransformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
protected boolean hasPolyline()
hasPolyline in class ParametricCurve3Dprotected boolean isComposedOfOnlyPolylines()
isComposedOfOnlyPolylines in class ParametricCurve3D
protected void output(java.io.PrintWriter writer,
int indent)
output in class GeometryElementwriter - PrintWriterindent - �C���f���g��?[��GeometryElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||