case class Annulus(innerRadius: Double, outerRadius: Double) extends Neighborhood with Product with Serializable

Annulus neighborhood.

innerRadius

The radius of the inner circle of the Annulus.

outerRadius

The radius of the outer circle of the Annulus.

Note

Cells who's distance from the center is exactly the inner or outer radius are included in the neighborhood.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Annulus
  2. Product
  3. Equals
  4. Neighborhood
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Annulus(innerRadius: Double, outerRadius: Double)

    innerRadius

    The radius of the inner circle of the Annulus.

    outerRadius

    The radius of the outer circle of the Annulus.

Value Members

  1. val extent: Int

    How many cells past the focus the bounding box goes.

    How many cells past the focus the bounding box goes. (e.g., 1 for 3x3 square)

    Definition Classes
    AnnulusNeighborhood
  2. val hasMask: Boolean

    Whether or not this neighborhood has a mask the cursor of it's bounding box

    Whether or not this neighborhood has a mask the cursor of it's bounding box

    Definition Classes
    AnnulusNeighborhood
  3. val innerRadius: Double
  4. def mask(x: Int, y: Int): Boolean

    Overridden to define the mask of Neighborhoods that have one col and row treat the mask as a raster, that is, (0,0) is the upper left corner, and (extent*2+1,extent*2+1) is the lower right corner

    Overridden to define the mask of Neighborhoods that have one col and row treat the mask as a raster, that is, (0,0) is the upper left corner, and (extent*2+1,extent*2+1) is the lower right corner

    Definition Classes
    AnnulusNeighborhood
  5. val outerRadius: Double
  6. def toString(): String
    Definition Classes
    Neighborhood → AnyRef → Any