org.jscience.mathematics.geometry
Class SetOfTriangles2D

java.lang.Object
  extended by org.jscience.mathematics.geometry.GeometryElement
      extended by org.jscience.mathematics.geometry.AbstractNonParametricSurface
          extended by org.jscience.mathematics.geometry.NonParametricSurface2D
              extended by org.jscience.mathematics.geometry.SetOfTriangles2D
All Implemented Interfaces:
java.io.Serializable

public class SetOfTriangles2D
extends NonParametricSurface2D

�Q���� : ��q����̎O�p�`��?W?���\���N���X?B

See Also:
Serialized Form

Nested Class Summary
 class SetOfTriangles2D.Edge
          �O�p�`�̕ӂ�\���Ք�N���X?
 class SetOfTriangles2D.Face
          ����O�p�`��\���Ք�N���X?
 class SetOfTriangles2D.Vertex
          �O�p�`�̒��_��\���Ք�N���X?
 
Constructor Summary
SetOfTriangles2D(Point2D[][] grid)
          �i�q?
 
Method Summary
 java.util.Enumeration edgeElements()
          ���̎O�p�`��?
 java.util.Enumeration faceElements()
          ���̎O�p�`��?
 int getNumberOfEdges()
          ���̎O�p�`��?
 int getNumberOfFaces()
          ���̎O�p�`��?
 int getNumberOfVertices()
          ���̎O�p�`��?
 boolean isFreeform()
          ���̊􉽗v�f�����R�`?
protected  void output(java.io.PrintWriter writer, int indent)
          ?
 java.util.Enumeration vertexElements()
          ���̎O�p�`��?
 
Methods inherited from class org.jscience.mathematics.geometry.NonParametricSurface2D
dimension, is2D
 
Methods inherited from class org.jscience.mathematics.geometry.AbstractNonParametricSurface
isSurface
 
Methods inherited from class org.jscience.mathematics.geometry.GeometryElement
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is3D, isCurve, isParametric, 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

SetOfTriangles2D

public SetOfTriangles2D(Point2D[][] grid)
�i�q?�̓_�Ԃ�^��?A �����𒸓_�Ƃ���O�p�`��?W?��Ƃ��ăI�u�W�F�N�g��?\�z����?B

grid �̈ꎟ����?^�񎟌��ڂ̂����ꂩ�̗v�f?��� 2 ���?�����?�?��ɂ� InvalidArgumentValueException �̗�O��Ԃ�?B

Parameters:
grid - �i�q?�̓_��
See Also:
InvalidArgumentValueException
Method Detail

faceElements

public java.util.Enumeration faceElements()
���̎O�p�`��?W?����܂ގO�p�`�� Enumeration ��Ԃ�?B

Returns:
�O�p�`�� Enumeration

vertexElements

public java.util.Enumeration vertexElements()
���̎O�p�`��?W?����܂ޒ��_�� Enumeration ��Ԃ�?B

Returns:
���_�� Enumeration

edgeElements

public java.util.Enumeration edgeElements()
���̎O�p�`��?W?����܂ޕӂ� Enumeration ��Ԃ�?B

Returns:
�ӂ� Enumeration

getNumberOfVertices

public int getNumberOfVertices()
���̎O�p�`��?W?����܂ޒ��_��?���Ԃ�?B

Returns:
���_��?�

getNumberOfFaces

public int getNumberOfFaces()
���̎O�p�`��?W?����܂ގO�p�`��?���Ԃ�?B

Returns:
�O�p�`��?�

getNumberOfEdges

public int getNumberOfEdges()
���̎O�p�`��?W?����܂ޕӂ�?���Ԃ�?B

Returns:
�ӂ�?�

isFreeform

public boolean isFreeform()
���̊􉽗v�f�����R�`?󂩔ۂ���Ԃ�?B

Overrides:
isFreeform in class GeometryElement
Returns:
?�� true

output

protected void output(java.io.PrintWriter writer,
                      int indent)
?o�̓X�g��?[���Ɍ`?�?���?o�͂���?B

Specified by:
output in class GeometryElement
Parameters:
writer - PrintWriter
indent - �C���f���g��?[��
See Also:
GeometryElement