Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.geom.mesh2d
Class Voronoi

    java.lang.Object
      toxi.geom.mesh2d.Voronoi

    public class Voronoi

extends java.lang.Object

Field Summary
`static float` | `DEFAULT_SIZE`

Constructor Summary
`Voronoi()`
`Voronoi(float size)`

Method Summary
`void` | `addPoint(Vec2D p)`
`void` | `addPoints(java.util.List<Vec2D> points)`
`java.util.List<Polygon2D>` | `getRegions()`
`java.util.List<Vec2D>` | `getSites()`
`java.util.List<Triangle2D>` | `getTriangles()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DEFAULT_SIZE

    public static float DEFAULT_SIZE

Constructor Detail

### Voronoi

    public Voronoi()

### Voronoi

    public Voronoi(float size)

Method Detail

### addPoint

    public void addPoint(Vec2D p)

### addPoints

    public void addPoints(java.util.List<Vec2D> points)

### getRegions

    public java.util.List<Polygon2D> getRegions()

### getSites

    public java.util.List<Vec2D> getSites()

### getTriangles

    public java.util.List<Triangle2D> getTriangles()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD