Class

software.uncharted.salt.core.projection.numeric

NumericProjection

Related Doc: package numeric

Permalink

abstract class NumericProjection[DC, TC, BC] extends Projection[DC, TC, BC]

DC

the abstract type representing a data-space coordinate

TC

the abstract type representing a tile coordinate.

BC

the abstract type representing a bin coordinate. Must be something that can be represented in 1 dimension.

Linear Supertypes
Projection[DC, TC, BC], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumericProjection
  2. Projection
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NumericProjection(min: DC, max: DC)

    Permalink

    min

    the minimum value of a data-space coordinate

    max

    the maximum value of a data-space coordinate

Abstract Value Members

  1. abstract def binTo1D(bin: BC, maxBin: BC): Int

    Permalink

    Project a bin index BC into 1 dimension for easy storage of bin values in an array

    Project a bin index BC into 1 dimension for easy storage of bin values in an array

    bin

    A bin index

    maxBin

    The maximum possible bin index (i.e. if your tile is 256x256, this would be (255,255))

    returns

    the bin index converted into its one-dimensional representation

    Definition Classes
    Projection
  2. abstract def project(dc: Option[DC], maxBin: BC): Option[Traversable[(TC, BC)]]

    Permalink

    Project a data-space coordinate into the corresponding tile coordinate and bin coordinate

    Project a data-space coordinate into the corresponding tile coordinate and bin coordinate

    dc

    the data-space coordinate

    maxBin

    The maximum possible bin index (i.e. if your tile is 256x256, this would be (255,255))

    returns

    Option[Traversable[(TC, Int)]] representing a series of tile coordinate/bin index pairs if the given source row is within the bounds of the viz. None otherwise.

    Definition Classes
    Projection

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val max: DC

    Permalink

    the maximum value of a data-space coordinate

  13. val min: DC

    Permalink

    the minimum value of a data-space coordinate

  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Projection[DC, TC, BC]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped