|
|||||||||
| 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.BoundedCurve2D
org.jscience.mathematics.geometry.FreeformCurveWithControlPoints2D
public abstract class FreeformCurveWithControlPoints2D
�Q���� : ?���_��?�B����R��?��\����?ۃN���X?B
���̃N���X�̃C���X�^���X��?A ?���_ (Point2D) �̔z�� controlPoints �� ?d�� (double) �̔z�� weights ��?��?B weights �� null ��?�?��ɂ͔�L�?��?� (��?�����?�) ��\��?B weights �ɔz��?ݒ肳��Ă���?�?��ɂ͗L�?��?��\��?B weights[i] �� controlPoints[i] �ɑΉ�����?B �Ȃ�?A���܂̂Ƃ��� weights[i] �̒l��?��łȂ���Ȃ�Ȃ�?B
| Field Summary | |
|---|---|
protected Point2D[] |
controlPoints
? |
protected double[] |
weights
? |
| Constructor Summary | |
|---|---|
protected |
FreeformCurveWithControlPoints2D()
����^�����ɃI�u�W�F�N�g��? |
protected |
FreeformCurveWithControlPoints2D(double[][] cpArray)
? |
protected |
FreeformCurveWithControlPoints2D(Point2D[] controlPoints)
? |
protected |
FreeformCurveWithControlPoints2D(Point2D[] controlPoints,
double[] weights)
? |
protected |
FreeformCurveWithControlPoints2D(Point2D[] controlPoints,
double[] weights,
boolean doCheck)
? |
| Method Summary | |
|---|---|
protected static double[][] |
allocateDoubleArray(boolean isPoly,
int size)
�^����ꂽ? |
Point2D |
controlPointAt(int i)
���̋�? |
Point2D[] |
controlPoints()
���̋�? |
protected void |
convRational0Deriv(double[] d0D)
����? |
protected void |
convRational1Deriv(double[] d0D,
double[] d1D)
����? |
protected void |
convRational2Deriv(double[] d0D,
double[] d1D,
double[] d2D)
����? |
boolean |
isFreeform()
���̊v�f�����R�`? |
boolean |
isPolynomial()
���̋�? |
boolean |
isRational()
���̋�? |
double[] |
makeUniformWeights()
���̋�? |
int |
nControlPoints()
���̋�? |
protected void |
setCoordinatesToDoubleArray(boolean isPoly,
int uicp,
double[][] doubleArray)
���̋�? |
protected double[][] |
toDoubleArray(boolean isPoly)
���̋�? |
double |
weightAt(int i)
���̋�? |
double[] |
weights()
���̋�? |
| Methods inherited from class org.jscience.mathematics.geometry.BoundedCurve2D |
|---|
endPoint, fillet, interfere, length, offsetByBoundedCurve, offsetByBsplineCurve, startPoint, toBsplineCurve, toPolyline |
| 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, 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 |
| Field Detail |
|---|
protected Point2D[] controlPoints
protected double[] weights
| Constructor Detail |
|---|
protected FreeformCurveWithControlPoints2D()
protected FreeformCurveWithControlPoints2D(Point2D[] controlPoints)
controlPoints - ?���_�̔z��InvalidArgumentValueException
protected FreeformCurveWithControlPoints2D(Point2D[] controlPoints,
double[] weights)
controlPoints - ?���_�̔z��weights - ?d�݂̔z��InvalidArgumentValueExceptionprotected FreeformCurveWithControlPoints2D(double[][] cpArray)
cpArray - ?���_ (�����?d��) �̔z��InvalidArgumentValueException
protected FreeformCurveWithControlPoints2D(Point2D[] controlPoints,
double[] weights,
boolean doCheck)
FreeformCurveWithControlPoints2D(Point2D[], double[])?A
weights �� null �ł����
FreeformCurveWithControlPoints2D(Point2D[])
�Ɠ��l��?��?��?s�Ȃ�?B
controlPoitns - ?���_�̔z��weights - ?d�݂̔z��doCheck - ��?��̃`�F�b�N��?s�Ȃ����ǂ���| Method Detail |
|---|
public Point2D[] controlPoints()
public Point2D controlPointAt(int i)
i - �C���f�b�N�X
public double[] weights()
public double weightAt(int i)
i - �C���f�b�N�X
InvalidArgumentValueExceptionpublic int nControlPoints()
public boolean isRational()
public boolean isPolynomial()
protected static double[][] allocateDoubleArray(boolean isPoly,
int size)
isPoly - ��?����`�����ۂ�size - �z��̑�ꎟ���̗v�f?� (?���_��?�)
protected void setCoordinatesToDoubleArray(boolean isPoly,
int uicp,
double[][] doubleArray)
isPoly - ��?����`�����ۂ�uicp - �z��̑�ꎟ���̗v�f?� (�z��ɒl�����?���_��?�)doubleArray - ?���_��?�����i�[������z��protected double[][] toDoubleArray(boolean isPoly)
isPoly - ��?����`�����ۂ�
protected void convRational0Deriv(double[] d0D)
d0D - ��?�?�̓_
protected void convRational1Deriv(double[] d0D,
double[] d1D)
d0D - ��?�?�̓_d1D - �ꎟ����?�
protected void convRational2Deriv(double[] d0D,
double[] d1D,
double[] d2D)
d0D - ��?�?�̓_d1D - �ꎟ����?�d2D - ����?�public boolean isFreeform()
isFreeform in class GeometryElementpublic double[] makeUniformWeights()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||