software.uncharted.salt.core.projection.numeric

NumericProjection

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. Must feature a zero-arg constructor.

BC

the abstract type representing a bin coordinate. Must feature a zero-arg constructor and should 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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

    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[Seq[(TC, BC)]]

    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[Seq[(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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  14. val max: DC

    the maximum value of a data-space coordinate

  15. val min: DC

    the minimum value of a data-space coordinate

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

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Projection[DC, TC, BC]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped