Package com.treemap.swing.fastvoronoi

# Class OriginalVoronoiDiagram

java.lang.Object
com.treemap.swing.fastvoronoi.OriginalVoronoiDiagram

All Implemented Interfaces:
  `VoronoiDiagram`

public class OriginalVoronoiDiagram extends Object implements VoronoiDiagram

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `PowerDiagram`
  `diagram`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OriginalVoronoiDiagram(com.macrofocus.geom.Shape shape, Site[] sites, double[] weights)`
  Algorithm 3: Compute Power Diagram

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.macrofocus.geom.Shape`
  `getClippedPolygon(int i)`
  `com.macrofocus.geom.Shape`
  `getPolygon(int i)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### diagram

    public PowerDiagram diagram

- ## Constructor Details

  - ### OriginalVoronoiDiagram

    public OriginalVoronoiDiagram(com.macrofocus.geom.Shape shape, Site[] sites, double[] weights)
    Algorithm 3: Compute Power Diagram

- ## Method Details

  - ### getPolygon

    public com.macrofocus.geom.Shape getPolygon(int i)
    Specified by:
      `getPolygon` in interface `VoronoiDiagram`

  - ### getClippedPolygon

    public com.macrofocus.geom.Shape getClippedPolygon(int i)
    Specified by:
      `getClippedPolygon` in interface `VoronoiDiagram`