PointCloud

case class PointCloud(bytes: Array[Byte], dimTypes: Map[String, SizedDimType])

PointCloud abstraction to work with packed point(s) in JVM memory. SizedDimType contains size and offset for a particular packed point with the current set of dims.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def dimSize(dim: SizedDimType): Long
def dimSize(dim: DimType): Long
def dimSize(dim: String): Long
def findDimType(dim: String): DimType
def findSizedDimType(dim: String): SizedDimType
def get(i: Int): Array[Byte]

Reads a packed point by point id from a set of packed points.

Reads a packed point by point id from a set of packed points.

def get(idx: Int, dim: SizedDimType): ByteBuffer
def get(idx: Int, dim: DimType): ByteBuffer
def get(idx: Int, dim: String): ByteBuffer
def get(idx: Int, dims: Array[SizedDimType]): ByteBuffer
def get(idx: Int, dims: Array[DimType]): ByteBuffer
def get(idx: Int, dims: Array[String]): ByteBuffer
def get(packedPoint: Array[Byte], dim: String): Array[Byte]

Reads dim from a packed point.

Reads dim from a packed point.

def getByte(idx: Int, dim: SizedDimType): Byte
def getByte(idx: Int, dim: DimType): Byte
def getByte(idx: Int, dim: String): Byte
def getChar(idx: Int, dim: SizedDimType): Char
def getChar(idx: Int, dim: DimType): Char
def getChar(idx: Int, dim: String): Char
def getDouble(idx: Int, dim: SizedDimType): Double
def getDouble(idx: Int, dim: DimType): Double
def getDouble(idx: Int, dim: String): Double
def getFloat(idx: Int, dim: SizedDimType): Float
def getFloat(idx: Int, dim: DimType): Float
def getFloat(idx: Int, dim: String): Float
def getInt(idx: Int, dim: SizedDimType): Int
def getInt(idx: Int, dim: DimType): Int
def getInt(idx: Int, dim: String): Int
def getLong(idx: Int, dim: SizedDimType): Long
def getLong(idx: Int, dim: DimType): Long
def getLong(idx: Int, dim: String): Long
def getShort(idx: Int, dim: SizedDimType): Short
def getShort(idx: Int, dim: DimType): Short
def getShort(idx: Int, dim: String): Short
def getX(idx: Int): Double
def getY(idx: Int): Double
def getZ(idx: Int): Double

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

val isPoint: Boolean
val length: Int
val pointSize: Int