com.io7m.jregions.generators

## Class PAreaDGenerator<S>

- java.lang.Object
- - com.io7m.jregions.generators.PAreaDGenerator<S>

- Type Parameters:
    `S` - A phantom type parameter indicating the coordinate space of the area
  All Implemented Interfaces:
    net.java.quickcheck.Generator<PAreaD<S>>

      public final class PAreaDGenerator<S>
      extends Object
      implements net.java.quickcheck.Generator<PAreaD<S>>

  A generator for areas.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PAreaDGenerator(net.java.quickcheck.Generator<Double> in_gen)` Create a new generator.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <S> PAreaDGenerator<S>` | `create()`
    `PAreaD<S>` | `next()`

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

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

- - ### Constructor Detail

    - #### PAreaDGenerator

          public PAreaDGenerator(net.java.quickcheck.Generator<Double> in_gen)

      Create a new generator.
      Parameters:
        `in_gen` - A number generator

  - ### Method Detail

    - #### create

          public static <S> PAreaDGenerator<S> create()

      Type Parameters:
        `S` - A phantom type parameter indicating the coordinate space of the area
      Returns:
        A generator initialized with useful defaults

    - #### next

          public PAreaD<S> next()

      Specified by:
        `next` in interface `net.java.quickcheck.Generator<PAreaD<S>>`

Copyright © 2017 <code@io7m.com> http://io7m.com