com.io7m.jregions.core.parameterized.sizes

## Class PAreaSizesF

- java.lang.Object
- - com.io7m.jregions.core.parameterized.sizes.PAreaSizesF

-     public final class PAreaSizesF
      extends Object

  Functions over area sizes.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <S> boolean` | `includes(PAreaSizeF<S> a, PAreaSizeF<S> b)` Determine if an area includes another area.

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

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

- - ### Method Detail

    - #### includes

          public static <S> boolean includes(PAreaSizeF<S> a,
                                             PAreaSizeF<S> b)

      Determine if an area includes another area.

      Inclusion is reflexive: `∀a. includes(a, a)`

      Inclusion is transitive: `∀a b c. includes(a, b) ∧ includes(b, c) → includes(a, c)`

      Type Parameters:
        `S` - A phantom type parameter indicating the coordinate space of the area
      Parameters:
        `a` - The containing area
        `b` - The contained area
      Returns:
        `true` if `a` can contain `b`

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