case class Wedge(radius: Double, startAngle: Double, endAngle: Double) extends Neighborhood with Product with Serializable
Wedge neighborhood.
- radius
The radius of the wedge, in raster cell units.
- startAngle
The starting angle of the wedge (in degrees).
- endAngle
The ending angle of the wedge (in degrees).
- Note
Cells who's distance from the center is exactly the radius are included in the neighborhood.
- Alphabetic
- By Inheritance
- Wedge
- Product
- Equals
- Neighborhood
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
- val endAngle: Double
- val endRad: Double
-
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
- Wedge → Neighborhood
-
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
- Wedge → Neighborhood
- val isInAngle: (Double) ⇒ Boolean
-
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
- Wedge → Neighborhood
- val radius: Double
- val startAngle: Double
- val startRad: Double
-
def
toString(): String
- Definition Classes
- Neighborhood → AnyRef → Any