case class DefaultMapping(indexRange: Int) extends Mapping with Product with Serializable
Default strategy for mapping unit vectors to a linear index.
Directions on the upper hemisphere are represented in the first half of the index range. The hemispheres are projected to a plane which is then linearized.
- indexRange
The upper bound of the index. Has to be 2*(n^2).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultMapping
- Serializable
- Serializable
- Product
- Equals
- Mapping
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DefaultMapping(indexRange: Int)
- indexRange
The upper bound of the index. Has to be 2*(n^2).
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
val
indexRange: Int
- Definition Classes
- DefaultMapping → Mapping
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def linearIndexTo(i: Int): (Int, Int, Int)
-
def
mapTableToView(i: Int): Vector[_3D]
Maps a linear, discrete index to a direction
Maps a linear, discrete index to a direction
- Definition Classes
- DefaultMapping → Mapping
-
def
mapViewToTable(v: Vector[_3D]): Int
Maps a direction to a linear, discrete, index.
Maps a direction to a linear, discrete, index.
- Definition Classes
- DefaultMapping → Mapping
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )