Space

trait Space[P, H]

A Space abstracts over the number of dimensions that are used for point and hypercube operations.

Companion
object
class Object
trait Matchable
class Any
class NDim
trait ThreeDim
object ThreeDim
trait TwoDim
object TwoDim
trait TwoDim
object TwoDim

Type members

Types

type Point <: P

Value members

Abstract methods

def dim: Int

The number of dimensions in the space.

The number of dimensions in the space.

Given that the space is limited, this represents the farthest point in the space, typically which each coordinate component equal to Int.MaxValue.

Given that the space is limited, this represents the farthest point in the space, typically which each coordinate component equal to Int.MaxValue.

Implicits

Implicits

implicit
def hyperCubeFormat: ConstFormat[H]
implicit
def lexicalOrder: Ordering[P]
implicit
def pointFormat: ConstFormat[Point]