org.jscience.mathematics.geometry
Class EmbeddedGraph.Edge

java.lang.Object
  extended by org.jscience.mathematics.geometry.EmbeddedGraph.Edge
Direct Known Subclasses:
SetOfTriangles2D.Edge, SetOfTriangles3D.Edge
Enclosing class:
EmbeddedGraph

public class EmbeddedGraph.Edge
extends java.lang.Object

�O���t�̔��� (�ӂ̕Њ���) ��\���Ք�N���X?B

�����‚̕ӂ�?A�w��?��킹�ɂȂB���g�̔��� (half edge) �ɂ�B�?\?�������̂�?l����?B

���̃N���X�͂��̔��ӂ�\������?B

��?�͂��̔��ӂ�P��?u��?v�ƌĂ�?B

�O���t�̗��p�҂�?A����ӂ�?삷��?�?��ɂ�?A���̔��ӂ�?삷�邱�ƂɂȂ�?B

���̃N���X�̃C���X�^���X��?A

��ێ?����?B

�O���t�̒��_?^�ʂ�\���N���X

Vertex/Face

��

GraphItem

�̒�?ڂ̃T�u�N���X�ɂȂBĂ��邪?A

(��) �ӂ�\�����̃N���X�ɂ‚��Ă�?A

�w��?��킹�̓�‚̔��ӂ�܂� EmbeddedGraph.EdgeContainer �Ƃ����N���X��

GraphItem

�̃T�u�N���X�ɂȂBĂ���?B

�Ȃ�?AEmbeddedGraph.EdgeContainer ��

EmbeddedGraph �� private �ȓՔ�N���X�ł���?B


Constructor Summary
protected EmbeddedGraph.Edge()
          ����^�����ɃI�u�W�F�N�g��?
 
Method Summary
protected  void fillFieldsOfDualReplica()
          ���� (��) �ӂ̑o�Ε�?
protected  void fillFieldsOfReplica()
          ���� (��) �ӂ̕�?
 EmbeddedGraph.Face[] getFaces()
          ���̕ӂ�?
 EmbeddedGraph getGraph()
          ���̕ӂ�������O���t��Ԃ�?
 EmbeddedGraph.Face getLeftFace()
          ���̕ӂ�?
 EmbeddedGraph.Edge getMate()
          ���̕ӂ̑����?
protected  EmbeddedGraph.Edge getReplica()
          ���� (��) �ӂ̕�?
 EmbeddedGraph.Face getRightFace()
          ���̕ӂ̉E�ʂ�Ԃ�?
 EmbeddedGraph.Vertex getStartingVertex()
          ���̕ӂ̎n�_��Ԃ�?
 EmbeddedGraph.Vertex getTerminalVertex()
          ���̕ӂ�?
 java.lang.Object getUserData()
          ���̕ӂ� userData ��Ԃ�?
 EmbeddedGraph.Vertex[] getVertices()
          ���̕ӂ̎n�_?
 boolean isIdentWith(EmbeddedGraph.Edge edge)
          �^����ꂽ�ӂ�?
 void setUserData(java.lang.Object object)
          ���p�҂����̕ӂɊ֘A�t�������C�ӂ̃f?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedGraph.Edge

protected EmbeddedGraph.Edge()
����^�����ɃI�u�W�F�N�g��?\�z����?B

?\�z����̕ӂ͑��̒��_?^��?^�ʂƂ̊֌W��?���Ȃ�?B

���̃R���X�g���N�^��?A�O���t�̗��p�҂ɂ�BĒ�?ڌĂ�?o�����ׂ��ł͂Ȃ�?B

�O���t�̗��p�҂�?A�����܂ł� Euler Operator (����) �𗘗p����?A

�O���t��?삷���̂Ƃ��Ă���?B

Method Detail

getGraph

public EmbeddedGraph getGraph()
���̕ӂ�������O���t��Ԃ�?B

Returns:
���̕ӂ�������O���t

getMate

public EmbeddedGraph.Edge getMate()
���̕ӂ̑����?ݒ肳��Ă���ӂ�Ԃ�?B

Returns:
����Ƃ���?ݒ肳��Ă����

isIdentWith

public boolean isIdentWith(EmbeddedGraph.Edge edge)
�^����ꂽ�ӂ�?A���̕ӂƓ���̕ӂ��ۂ���Ԃ�?B

edge �� this �� this �̑���ł���� true ��Ԃ�?B

Parameters:
edge - ��
Returns:
����̕ӂȂ�� true?A�����łȂ���� false

getVertices

public EmbeddedGraph.Vertex[] getVertices()
���̕ӂ̎n�_?^?I�_��Ԃ�?B

���ʂƂ��ē�����z��̗v�f?��� 2 ��?A

?�?��̗v�f�ɂ͎n�_?A

��Ԗڂ̗v�f�ɂ�?I�_

�����?B

?I�_�Ƃ�?A����̎n�_�ł���?B

Returns:
�n�_?^?I�_��܂ޔz��

getStartingVertex

public EmbeddedGraph.Vertex getStartingVertex()
���̕ӂ̎n�_��Ԃ�?B

Returns:
�n�_

getTerminalVertex

public EmbeddedGraph.Vertex getTerminalVertex()
���̕ӂ�?I�_��Ԃ�?B

?I�_�Ƃ�?A����̎n�_�ł���?B

Returns:
?I�_

getFaces

public EmbeddedGraph.Face[] getFaces()
���̕ӂ�?���?^�E�ʂ�Ԃ�?B

���ʂƂ��ē�����z��̗v�f?��� 2 ��?A

?�?��̗v�f�ɂ�?���?A

��Ԗڂ̗v�f�ɂ͉E��

�����?B

�E�ʂƂ�?A�����?��ʂł���?B

Returns:
?���?^�E�ʂ�܂ޔz��

getLeftFace

public EmbeddedGraph.Face getLeftFace()
���̕ӂ�?��ʂ�Ԃ�?B

Returns:
?���

getRightFace

public EmbeddedGraph.Face getRightFace()
���̕ӂ̉E�ʂ�Ԃ�?B

�E�ʂƂ�?A�����?��ʂł���?B

Returns:
�E��

setUserData

public void setUserData(java.lang.Object object)
���p�҂����̕ӂɊ֘A�t�������C�ӂ̃f?[�^�� userData ��?ݒ肷��?B

���̌Ă�?o���ȑO�� userData ��?ݒ肳��Ă����f?[�^�͖Y�ꋎ����?B

�Ȃ�?A���̕ӂƂ��̕ӂ̑���͓��� userData �뤗L����?B

object �� null �ł�?\��Ȃ�?B

����?�?�?AuserData �ɂ� null ��?ݒ肳���?B

Parameters:
object - �C�ӂ̃f?[�^ (�C�ӂ̃I�u�W�F�N�g)
See Also:
getUserData(), EmbeddedGraph.GraphItem

getUserData

public java.lang.Object getUserData()
���̕ӂ� userData ��Ԃ�?B

Returns:
���̕ӂɊ֘A�t�����Ă���C�ӂ̃I�u�W�F�N�g
See Also:
setUserData(java.lang.Object), EmbeddedGraph.GraphItem

getReplica

protected EmbeddedGraph.Edge getReplica()
���� (��) �ӂ̕�?��Ƃ���?ݒ肳��Ă��锼�ӂ�Ԃ�?B

Returns:
��?��Ƃ���?ݒ肳��Ă��锼��
See Also:
EmbeddedGraph.copy(), EmbeddedGraph.copy(EmbeddedGraph), EmbeddedGraph.dualCopy(), EmbeddedGraph.dualCopy(EmbeddedGraph)

fillFieldsOfReplica

protected void fillFieldsOfReplica()
���� (��) �ӂ̕�?��Ƃ���?ݒ肳��Ă��锼�ӂ̃t�B?[���h��?������l�����?B

EmbeddedGraph.Edge �̃T�u�N���X��?A

�K�v�ɉ����Ă��̃?�\�b�h��I?[�o?[���C�h���ׂ��ł���?B

�Ȃ�?A���̃I?[�o?[���C�h�����?�\�b�h�̓Ք�ł�?A

super.fillFieldsOfReplica() �Ƃ���?A���̃?�\�b�h��Ă�?o�Ȃ���΂Ȃ�Ȃ�?B

See Also:
EmbeddedGraph.GraphItem.setReplica(EmbeddedGraph.GraphItem)

fillFieldsOfDualReplica

protected void fillFieldsOfDualReplica()
���� (��) �ӂ̑o�Ε�?��Ƃ���?ݒ肳��Ă��锼�ӂ̃t�B?[���h��?������l�����?B

EmbeddedGraph.Edge �̃T�u�N���X��?A

�K�v�ɉ����Ă��̃?�\�b�h��I?[�o?[���C�h���ׂ��ł���?B

�Ȃ�?A���̃I?[�o?[���C�h�����?�\�b�h�̓Ք�ł�?A

super.fillFieldsOfDualReplica() �Ƃ���?A���̃?�\�b�h��Ă�?o�Ȃ���΂Ȃ�Ȃ�?B

See Also:
EmbeddedGraph.GraphItem.setReplica(EmbeddedGraph.GraphItem)