|
|||||||||
| 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.AbstractParametricSurface
org.jscience.mathematics.geometry.ParametricSurface3D
org.jscience.mathematics.geometry.BoundedSurface3D
org.jscience.mathematics.geometry.Mesh3D
public class Mesh3D
�R���� : �i�q?�_�Ԃ�\���N���X?B
���̃N���X�͈ʑ��I�Ɋi�q?��?\����?�_�Q���Ԃ���Ȗʂ�\��?B �?�b�V����?A�i�q�_�̂Q�����z�� points �� U/V �e?X�̕��ɕ����`���ł��邩�ۂ���\���t���O uClosed/vClosed �Œ�`�����?B points ��?AU ���̃C���f�b�N�X��?�?AV ���̃C���f�b�N�X����?B �܂�?AU ���� i �Ԗ�?AV ���� j �Ԗڂ̓_�� points[i][j] �Ɋi�[�����?B �?�b�V���� U ���̃p���??[�^��`���?A ��?ڂ���i�q�_�̊Ԃ̃p���??[�^��Ԃ̑傫����?�� 1 �Ƃ���?A �ȖʑS��ł� [0, N] �ƂȂ�?B ������ N ��?A �?�b�V���� U ���ɊJ�����`���ł���� (�i�q�_�� U ����?� - 1)?A �����`���ł���� (�i�q�_�� U ����?� - 1) �ɂȂ�?B V ���̃p���??[�^��`��ɂ��Ă�?A���l�ł���?B (u, v) ��p���??[�^�Ƃ��镽�� P(u, v) �̃p���?�g���b�N�\����?A�ȉ��̒ʂ�?B
P(u, v) =
(1 - lv) * ((1 - lu) * points[i][j] + lu * points[i + 1][j]) +
lv * ((1 - lu) * points[i][j + 1] + lu * points[i + 1][j + 1])
������ i �� u ��z���Ȃ�?ő��?�?�?A j �� v ��z���Ȃ�?ő��?�?�?B
����� lu = (u - i), lv = (v - j) �ł���?B
| Constructor Summary | |
|---|---|
Mesh3D(BoundedSurface3D surface,
ToleranceForDistance tol)
����L�ȋȖʂ̑S�̂�? |
|
Mesh3D(ParametricSurface3D surface,
ParameterSection uPint,
ParameterSection vPint,
ToleranceForDistance tol)
����Ȗʂ̎w��� (�p���?? |
|
Mesh3D(Point3D[][] points)
�i�q�_��^���� U/V ���Ƃ�ɊJ�����`���ŃI�u�W�F�N�g��? |
|
Mesh3D(Point3D[][] points,
boolean uClosed,
boolean vClosed)
�i�q�_? |
|
| Method Summary | |
|---|---|
Point3D |
coordinates(double uParam,
double vParam)
���̋Ȗʂ�? |
protected ParametricSurface3D |
doTransformBy(boolean reverseTransform,
CartesianTransformationOperator3D transformationOperator,
java.util.Hashtable transformedGeometries)
���̋Ȗʂ�? |
SurfaceDerivative3D |
evaluation(double uParam,
double vParam)
���̋Ȗʂ�? |
IntersectionPoint3D[] |
intersect(ParametricCurve3D mate)
���̋ȖʂƑ��̋�? |
SurfaceSurfaceInterference3D[] |
intersect(ParametricSurface3D mate)
���̋ȖʂƑ��̋ȖʂƂ̌�? |
boolean |
isFreeform()
���̊v�f�����R�`? |
BsplineSurface3D |
offsetByBsplineSurface(ParameterSection uPint,
ParameterSection vPint,
double magni,
int side,
ToleranceForDistance tol)
���̋Ȗʂ̎w��� (�p���?? |
protected void |
output(java.io.PrintWriter writer,
int indent)
? |
Point3D |
pointAt(int i,
int j)
���̃? |
Point3D[][] |
points()
���̃? |
PointOnSurface3D[] |
projectFrom(Point3D point)
�^����ꂽ�_���炱�̋Ȗʂւ̓��e�_��? |
Vector3D[] |
tangentVector(double uParam,
double vParam)
���̋Ȗʂ�? |
BsplineSurface3D |
toBsplineSurface(ParameterSection uPint,
ParameterSection vPint)
���̋Ȗʂ̎w��� (�p���?? |
Mesh3D |
toMesh(ParameterSection uPint,
ParameterSection vPint,
ToleranceForDistance tol)
�����`������^����ꂽ��? |
Mesh3D |
toMesh(ToleranceForDistance tol)
���� (��`�̃p���?? |
java.util.Vector |
toNonStructuredPoints(ParameterSection uParameterSection,
ParameterSection vParameterSection,
double tolerance,
double[] scalingFactor)
���̋Ȗʂ̎w��� (�p���?? |
SetOfTriangles3D |
toSetOfTriangles()
���̃? |
boolean |
uClosed()
���̃? |
ParametricCurve3D |
uIsoParametricCurve(double parameter)
���̋Ȗʂ� U �p���?? |
int |
uNPoints()
���̃? |
int |
uNSegments()
���̃? |
boolean |
vClosed()
���̃? |
ParametricCurve3D |
vIsoParametricCurve(double parameter)
���̋Ȗʂ� V �p���?? |
int |
vNPoints()
���̃? |
int |
vNSegments()
���̃? |
| Methods inherited from class org.jscience.mathematics.geometry.BoundedSurface3D |
|---|
fillet, offsetByBsplineSurface, toBsplineSurface |
| Methods inherited from class org.jscience.mathematics.geometry.ParametricSurface3D |
|---|
curvature, dimension, fillet, is3D, nearestProjectFrom, nearestProjectWithDistanceFrom, normalVector, pointToParameter, reverseTransformBy, transformBy, transformBy |
| Methods inherited from class org.jscience.mathematics.geometry.AbstractParametricSurface |
|---|
checkUValidity, checkUValidity, checkVValidity, checkVValidity, isParametric, isSurface, isUFinite, isUInfinite, isUNonPeriodic, isUPeriodic, isValidUParameter, isValidVParameter, isVFinite, isVInfinite, isVNonPeriodic, isVPeriodic, uParameterDomain, vParameterDomain |
| Methods inherited from class org.jscience.mathematics.geometry.GeometryElement |
|---|
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is2D, isCurve, isPlacement, isPoint, 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 Mesh3D(Point3D[][] points,
boolean uClosed,
boolean vClosed)
points - �i�q?�_�Ԃ̔z��uClosed - U ���ɕ����`�����ۂ���\���t���OvClosed - V ���ɕ����`�����ۂ���\���t���OInvalidArgumentValueExceptionpublic Mesh3D(Point3D[][] points)
points - �i�q?�_�Ԃ̔z��InvalidArgumentValueException
public Mesh3D(BoundedSurface3D surface,
ToleranceForDistance tol)
surface - �L�ȋȖ�tol - �����̋��e��?�BoundedSurface3D.toMesh(ToleranceForDistance)
public Mesh3D(ParametricSurface3D surface,
ParameterSection uPint,
ParameterSection vPint,
ToleranceForDistance tol)
surface - �Ȗ�uPint - �ߎ����� U ���̃p���??[�^���vPint - �ߎ����� V ���̃p���??[�^���tol - �����̋��e��?�ParametricSurface3D.toMesh(ParameterSection,ParameterSection,ToleranceForDistance)| Method Detail |
|---|
public Point3D[][] points()
public Point3D pointAt(int i,
int j)
public boolean uClosed()
public boolean vClosed()
public int uNPoints()
public int vNPoints()
public int uNSegments()
public int vNSegments()
public Point3D coordinates(double uParam,
double vParam)
coordinates in class ParametricSurface3DuParam - U ���̃p���??[�^�lvParam - V ���̃p���??[�^�l
UnsupportedOperationException
public Vector3D[] tangentVector(double uParam,
double vParam)
tangentVector in class ParametricSurface3DuParam - U ���̃p���??[�^�lvParam - V ���̃p���??[�^�l
UnsupportedOperationException
public SurfaceDerivative3D evaluation(double uParam,
double vParam)
evaluation in class ParametricSurface3DuParam - U ���̃p���??[�^�lvParam - V ���̃p���??[�^�l
UnsupportedOperationExceptionpublic PointOnSurface3D[] projectFrom(Point3D point)
projectFrom in class ParametricSurface3Dpoint - ���e���̓_
UnsupportedOperationException
public Mesh3D toMesh(ParameterSection uPint,
ParameterSection vPint,
ToleranceForDistance tol)
toMesh in class ParametricSurface3DuPint - U���̃p���??[�^���vPint - V���̃p���??[�^���tol - ��?�
ParameterSection,
ToleranceForDistance,
Mesh3D,
PointOnSurface3Dpublic Mesh3D toMesh(ToleranceForDistance tol)
toMesh in class BoundedSurface3Dtol - �����̋��e��?�
PointOnSurface3D,
UnsupportedOperationException
public BsplineSurface3D toBsplineSurface(ParameterSection uPint,
ParameterSection vPint)
toBsplineSurface in class ParametricSurface3DuPint - U ���̃p���??[�^���vPint - V ���̃p���??[�^���
UnsupportedOperationExceptionpublic IntersectionPoint3D[] intersect(ParametricCurve3D mate)
intersect in class ParametricSurface3Dmate - ���̋�?�
UnsupportedOperationExceptionpublic SurfaceSurfaceInterference3D[] intersect(ParametricSurface3D mate)
intersect in class ParametricSurface3Dmate - ���̋Ȗ�
UnsupportedOperationException
public BsplineSurface3D offsetByBsplineSurface(ParameterSection uPint,
ParameterSection vPint,
double magni,
int side,
ToleranceForDistance tol)
offsetByBsplineSurface in class ParametricSurface3DuPint - U ���̃p���??[�^���vPint - V ���̃p���??[�^���magni - �I�t�Z�b�g��side - �I�t�Z�b�g�̌� (WhichSide.FRONT/BACK)tol - �����̋��e��?�
WhichSide,
UnsupportedOperationExceptionpublic ParametricCurve3D uIsoParametricCurve(double parameter)
ParametricSurface3D
uIsoParametricCurve in class ParametricSurface3Dparameter - U ���̃p���??[�^�l
public ParametricCurve3D vIsoParametricCurve(double parameter)
ParametricSurface3D
vIsoParametricCurve in class ParametricSurface3Dparameter - V ���̃p���??[�^�l
public SetOfTriangles3D toSetOfTriangles()
SetOfTriangles3D.SetOfTriangles3D(Mesh3D)
public java.util.Vector toNonStructuredPoints(ParameterSection uParameterSection,
ParameterSection vParameterSection,
double tolerance,
double[] scalingFactor)
toNonStructuredPoints in class ParametricSurface3DuParameterSection - U ���̃p���??[�^���vParameterSection - V ���̃p���??[�^���tolerance - �����̋��e��?�scalingFactor - �_�Q��O�p�`��������?ۂɗL�p�Ǝv���� U/V ��?k�ڔ{��
PointOnSurface3D,
UnsupportedOperationExceptionpublic boolean isFreeform()
isFreeform in class GeometryElement
protected ParametricSurface3D doTransformBy(boolean reverseTransform,
CartesianTransformationOperator3D transformationOperator,
java.util.Hashtable transformedGeometries)
doTransformBy in class ParametricSurface3DreverseTransform - �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 GeometryElementwriter - PrintWriterindent - �C���f���g��?[��GeometryElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||