org.jscience.mathematics.geometry
Class VoronoiDiagram2D

java.lang.Object
  extended by org.jscience.mathematics.geometry.VoronoiDiagram2D

public class VoronoiDiagram2D
extends java.lang.Object

�Q������ Voronoi ?}��\���N���X?B

���̃N���X�̃C���X�^���X��?A Voronoi ?}�̈ʑ���ێ?���� EmbeddedGraph �̃C���X�^���X graph ��?��?B

graph ��̊e�� EmbeddedGraph.Face �� userData �ɂ�?A VoronoiDiagram2D.VRegion �̃C���X�^���X��֘A�t����?B

���l��?A graph ��̊e���_ EmbeddedGraph.Vertex �� userData �ɂ�?A VoronoiDiagram2D.VPoint �̃C���X�^���X��֘A�t����?B


Nested Class Summary
 class VoronoiDiagram2D.VPoint
          Voronoi �̈��͂ޒ��_ (Voronoi �_) ��\���Ք�N���X?
 class VoronoiDiagram2D.VRegion
          �����_��?
 
Field Summary
static double radiusScaleDefault
          ?
 
Constructor Summary
VoronoiDiagram2D(EmbeddedGraph seed, java.util.Enumeration points)
          �^����ꂽ�����_���ȓ_�Q�̊e�_���_�Ƃ��� Voronoi ?}
VoronoiDiagram2D(EmbeddedGraph seed, java.util.Enumeration points, double xScale, double yScale)
          �^����ꂽ�����_���ȓ_�Q�̊e�_���_�Ƃ��� Voronoi ?}
VoronoiDiagram2D(EmbeddedGraph seed, java.util.Enumeration points, double xScale, double yScale, double radiusScale)
          �^����ꂽ�����_���ȓ_�Q�̊e�_���_�Ƃ��� Voronoi ?}
 
Method Summary
 java.util.Enumeration coincidingRegionElements()
          ?
 EmbeddedGraph getGraph()
          Voronoi ?}
 int getNumberOfPairsOfCoincidingRegions()
          ?
static void main(java.lang.String[] args)
          �f�o�b�O�p�?
 java.util.Enumeration pointElements()
          Voronoi �_�� Enumeration ��Ԃ�?
 java.util.Enumeration regionElements()
          (?
 EmbeddedGraph stripGeometries()
          ��?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

radiusScaleDefault

public static final double radiusScaleDefault
?o��?オ�� Voronoi ?}��͂މ~�̔��a�̑傫����K�肷��{���̃f�t�H���g�l?B

See Also:
Constant Field Values
Constructor Detail

VoronoiDiagram2D

public VoronoiDiagram2D(EmbeddedGraph seed,
                        java.util.Enumeration points)
�^����ꂽ�����_���ȓ_�Q�̊e�_���_�Ƃ��� Voronoi ?}�Ƃ��ăI�u�W�F�N�g��?\�z����?B

seed �ɂ�?A?\�z�����΂���̋�̃O���t��^����?B

Parameters:
seed - ?�?����ꂽ Voronoi ?}�̈ʑ�?���ێ?���邽�߂̃O���t
points - ��_��?W?� (�����_���ȓ_�Q)

VoronoiDiagram2D

public VoronoiDiagram2D(EmbeddedGraph seed,
                        java.util.Enumeration points,
                        double xScale,
                        double yScale)
�^����ꂽ�����_���ȓ_�Q�̊e�_���_�Ƃ��� Voronoi ?}�Ƃ��ăI�u�W�F�N�g��?\�z����?B

�e��_ points[i] ��?W�l��?A points[i].x() * xScale, points[i].y() * yScale �ƂȂ�?B

seed �ɂ�?A?\�z�����΂���̋�̃O���t��^����?B

Parameters:
seed - ?�?����ꂽ Voronoi ?}�̈ʑ�?���ێ?���邽�߂̃O���t
points - ��_��?W?� (�����_���ȓ_�Q)
xScale - ��_��?W�l�� X ?�����?k�ڔ{��
yScale - ��_��?W�l�� Y ?�����?k�ڔ{��

VoronoiDiagram2D

public VoronoiDiagram2D(EmbeddedGraph seed,
                        java.util.Enumeration points,
                        double xScale,
                        double yScale,
                        double radiusScale)
�^����ꂽ�����_���ȓ_�Q�̊e�_���_�Ƃ��� Voronoi ?}�Ƃ��ăI�u�W�F�N�g��?\�z����?B

�e��_ points[i] ��?W�l��?A points[i].x() * xScale, points[i].y() * yScale �ƂȂ�?B

seed �ɂ�?A?\�z�����΂���̋�̃O���t��^����?B

Parameters:
seed - ?�?����ꂽ Voronoi ?}�̈ʑ�?���ێ?���邽�߂̃O���t
points - ��_��?W?� (�����_���ȓ_�Q)
xScale - ��_��?W�l�� X ?�����?k�ڔ{��
yScale - ��_��?W�l�� Y ?�����?k�ڔ{��
radiusScale - ?o��?オ�� Voronoi ?}��͂މ~�̔��a�̑傫����K�肷��{��
Method Detail

getGraph

public EmbeddedGraph getGraph()
Voronoi ?}�̈ʑ���ێ?����O���t��Ԃ�?B

Returns:
Voronoi ?}�̈ʑ���ێ?����O���t

getNumberOfPairsOfCoincidingRegions

public int getNumberOfPairsOfCoincidingRegions()
?d�������_�̑g��?���Ԃ�?B

Returns:
?d�������_�̑g��?�

coincidingRegionElements

public java.util.Enumeration coincidingRegionElements()
?d�������_�� Enumeration ��Ԃ�?B

Returns:
?d�������_ (VoronoiDiagram2D.VRegion) �� Enumeration

regionElements

public java.util.Enumeration regionElements()
(?d����?�����) Voronoi �̈�� Enumeration ��Ԃ�?B

Returns:
Voronoi �̈� (VoronoiDiagram2D.VRegion) �� Enumeration

pointElements

public java.util.Enumeration pointElements()
Voronoi �_�� Enumeration ��Ԃ�?B

Returns:
Voronoi �_ (VoronoiDiagram2D.VPoint) �� Enumeration

stripGeometries

public EmbeddedGraph stripGeometries()
��?���?�?�����?B

��_��?W�l?^?d��?��� Voronoi �_��?W�l�Ȃǂ̊�?���?�?���?A ���� Voronoi ?}�̈ʑ�?�񂾂���^������?��݃O���t�Ƃ��Ďc��?B ���̃?�\�b�h��Ă�?o�������?A���̃C���X�^���X�ɃA�N�Z�X���邱�Ƃ͂ł��Ȃ�?B

Returns:
�c�����ʑ�?��

main

public static void main(java.lang.String[] args)
�f�o�b�O�p�?�C���v�?�O����?B