|
|||||||||
| 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.AbstractPoint
org.jscience.mathematics.geometry.Point2D
public abstract class Point2D
�Q�����̓_��\����?ۃN���X?B
Vector2D,
Serialized Form| Field Summary | |
|---|---|
static Point2D |
origin
�Q�����̌��_ (0, 0)? |
| Constructor Summary | |
|---|---|
protected |
Point2D()
�I�u�W�F�N�g��? |
| Method Summary | |
|---|---|
Point2D |
add(Vector2D vector)
���̓_�ɗ^����ꂽ�x�N�g���𑫂����_��Ԃ�? |
Point2D |
center(Point2D pnt2,
Point2D pnt3)
�O�_����̓������_��? |
static Point2D |
center(Point2D pnt1,
Point2D pnt2,
Point2D pnt3)
�O�_����̓������_��? |
int |
dimension()
������Ԃ�? |
double |
distance(Point2D mate)
���̓_�Ɨ^����ꂽ�_�Ƃ̊Ԃ̋�����Ԃ�? |
double |
distance2(Point2D mate)
���̓_�Ɨ^����ꂽ�_�Ƃ̊Ԃ̋����̎�? |
Point2D |
divide(double scale)
���̓_��^����ꂽ�X�P? |
protected abstract Point2D |
doTransformBy(boolean reverseTransform,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
���̓_��? |
boolean |
identical(Point2D mate)
�Q�_�̓���? |
boolean |
is2D()
�Q�������ۂ���Ԃ� ? |
boolean |
isIn(ParametricCurve2D mate)
���̓_��? |
boolean |
isInsideOf(ParametricCurve2D mate)
���̓_��? |
boolean |
isOn(ParametricCurve2D mate)
���̓_���^����ꂽ��? |
Point2D |
linearInterpolate(Point2D mate,
double weightForThis)
���̓_�Ɨ^����ꂽ�_��? |
Point2D |
longestPoint(Point2D[] pnts)
�^����ꂽ�_��̒���? |
Point2D |
longestPoint(Point2D[] pnts,
int start,
int end)
�^����ꂽ�_��̎w��͈̔͂̒���? |
Point2D |
midPoint(Point2D mate)
���̓_�Ɨ^����ꂽ�_�̒��_��Ԃ�? |
Point2D |
multiply(double scale)
���̓_�ɗ^����ꂽ�X�P? |
static CartesianPoint2D |
of(double[] components)
CartesianPoint2D �̃C���X�^���X��? |
static CartesianPoint2D |
of(double x,
double y)
CartesianPoint2D �̃C���X�^���X��? |
PointOnCurve2D[] |
project(ParametricCurve2D mate)
���̓_����^����ꂽ��? |
static Point2D[] |
reverseTransform(Point2D[] points,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
�_���? |
Point2D |
reverseTransformBy(CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
���̓_��? |
Vector2D |
subtract(Point2D mate)
���̓_�Ɨ^����ꂽ�_�Ƃ�? |
Point2D |
subtract(Vector2D vector)
���̓_����^����ꂽ�x�N�g�����_��Ԃ�? |
Vector2D |
toVector2D()
���̓_��Q�����̃x�N�g�� (Vector2D) �ɕϊ�����? |
static Point2D[] |
transform(Point2D[] points,
boolean reverseTransform,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
�_���? |
static Point2D[] |
transform(Point2D[] points,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
�_���? |
Point2D |
transformBy(boolean reverseTransform,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
���̓_��? |
Point2D |
transformBy(CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
���̓_��? |
abstract double |
x()
�_�� X ? |
abstract double |
y()
�_�� Y ? |
| Methods inherited from class org.jscience.mathematics.geometry.AbstractPoint |
|---|
isPoint |
| Methods inherited from class org.jscience.mathematics.geometry.GeometryElement |
|---|
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is3D, isCurve, isFreeform, isParametric, isPlacement, 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 |
|---|
public static final Point2D origin
| Constructor Detail |
|---|
protected Point2D()
| Method Detail |
|---|
public int dimension()
dimension in class GeometryElementpublic boolean is2D()
is2D in class GeometryElementtruepublic abstract double x()
public abstract double y()
public Point2D add(Vector2D vector)
vector - �_�ɑ����x�N�g��
public Point2D subtract(Vector2D vector)
vector - �_�����x�N�g��
public Vector2D subtract(Point2D mate)
mate - ?����鑊��̓_
public Point2D multiply(double scale)
scale - �X�P?[��
public Point2D divide(double scale)
scale - �X�P?[��
public Point2D linearInterpolate(Point2D mate,
double weightForThis)
mate - ?�`��Ԃ̑���ƂȂ�_weightForThis - ��?g�ɑ���?d�� (����ɑ���?d�݂� 1 - weightForThis)
public Point2D midPoint(Point2D mate)
mate - ���_��?�߂鑊��ƂȂ�_
public boolean identical(Point2D mate)
mate - ����̑�?ۂƂȂ�_
ConditionOfOperationpublic Vector2D toVector2D()
public PointOnCurve2D[] project(ParametricCurve2D mate)
throws IndefiniteSolutionException
mate - ���e��?ۂ̋�?�
IndefiniteSolutionException - �⪕s��ł���public boolean isOn(ParametricCurve2D mate)
mate - �����?ۂ̋�?�
public boolean isIn(ParametricCurve2D mate)
throws OpenCurveException
mate - �����?ۂ̕�?�
OpenCurveException - mate �͊J������?�ł���
public boolean isInsideOf(ParametricCurve2D mate)
throws OpenCurveException
mate - �����?ۂ̕�?�
OpenCurveException - mate �͊J������?�ł���public double distance(Point2D mate)
mate - ������?�߂�_
public double distance2(Point2D mate)
mate - �����̎�?��?�߂�_
public Point2D longestPoint(Point2D[] pnts)
pnts - �_��
public Point2D longestPoint(Point2D[] pnts,
int start,
int end)
pnts - �_��start - �J�n�_�̃C���f�b�N�X (0 ~ pnts.length - 1)end - ?I���_�̃C���f�b�N�X (0 ~ pnts.length - 1, start <= end)
public Point2D center(Point2D pnt2,
Point2D pnt3)
pnt2 - �_2pnt3 - �_3
public static Point2D center(Point2D pnt1,
Point2D pnt2,
Point2D pnt3)
pnt1 - �_1pnt2 - �_2pnt3 - �_3
protected abstract Point2D doTransformBy(boolean reverseTransform,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
reverseTransform - �t�ϊ�����̂ł���� true?A�����łȂ���� falsetransformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public Point2D transformBy(boolean reverseTransform,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
reverseTransform - �t�ϊ�����̂ł���� true?A�����łȂ���� falsetransformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public Point2D transformBy(CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
transformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public Point2D reverseTransformBy(CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
transformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public static Point2D[] transform(Point2D[] points,
boolean reverseTransform,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
points - �_��reverseTransform - �t�ϊ�����̂ł���� true?A�����łȂ���� falsetransformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public static Point2D[] transform(Point2D[] points,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
points - �_��transformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public static Point2D[] reverseTransform(Point2D[] points,
CartesianTransformationOperator2D transformationOperator,
java.util.Hashtable transformedGeometries)
points - �_��transformationOperator - �I�ϊ����Z�qtransformedGeometries - ��ɓ��l�̕ϊ���{�����v�f��܂ރn�b�V���e?[�u��
public static CartesianPoint2D of(double x,
double y)
x - X ?���y - Y ?���
public static CartesianPoint2D of(double[] components)
components - X, Y?����̔z�� (�v�f?� 2)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||