trait BufferTiles extends AnyRef
- Alphabetic
- By Inheritance
- BufferTiles
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSize: Int, layerBounds: TileBounds)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) => CropMethods[V]): Seq[(K, BufferedTile[V])]
Buffer the tiles of type V by a constant buffer size.
Buffer the tiles of type V by a constant buffer size.
This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.
- K
The key of this tile set RDD, requiring a spatial component.
- V
The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]
- seq
The keyed tile collection.
- bufferSize
Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.
- layerBounds
The boundries of the layer to consider for border pixel contribution. This avoids creating border cells from valid tiles that would be used by keys outside of the bounds (and therefore unused).
- def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSizesPerKey: Seq[(K, BufferSizes)])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) => CropMethods[V]): Seq[(K, BufferedTile[V])]
Buffer the tiles of type V by a dynamic buffer size.
Buffer the tiles of type V by a dynamic buffer size.
This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.
- K
The key of this tile set Collection, requiring a spatial component.
- V
The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]
- seq
The keyed tile rdd.
- bufferSizesPerKey
A Collection that holds the BufferSizes to use for each key.
- def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], getBufferSizes: (K) => BufferSizes)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) => CropMethods[V]): Seq[(K, BufferedTile[V])]
Buffer the tiles of type V by a dynamic buffer size.
Buffer the tiles of type V by a dynamic buffer size.
This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.
- K
The key of this tile set Collection, requiring a spatial component.
- V
The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]
- seq
The keyed tile rdd.
- getBufferSizes
A function which returns the BufferSizes that should be used for a tile at this Key.
- def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSize: Int)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) => CropMethods[V]): Seq[(K, BufferedTile[V])]
Buffer the tiles of type V by a constant buffer size.
Buffer the tiles of type V by a constant buffer size.
This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.
- K
The key of this tile set Collection, requiring a spatial component.
- V
The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]
- bufferSize
Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bufferWithNeighbors[K, V <: CellGrid[Int]](seq: Seq[(K, Seq[(Direction, V)])])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V]): Seq[(K, BufferedTile[V])]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collectWithTileNeighbors[K, V <: CellGrid[Int]](key: K, tile: V, includeKey: (SpatialKey) => Boolean, getBufferSizes: (SpatialKey) => BufferSizes)(implicit arg0: SpatialComponent[K], arg1: (V) => CropMethods[V]): Seq[(K, (Direction, V))]
Collects tile neighbors by slicing the neighboring tiles to the given buffer size
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()