public class Sparse3DByteArray extends Object implements Byte3DArray
Modifier and Type | Field and Description |
---|---|
int |
xMax |
int |
xMin |
int |
yMax |
int |
yMin |
int |
zMax |
int |
zMin |
Constructor and Description |
---|
Sparse3DByteArray() |
Modifier and Type | Method and Description |
---|---|
byte |
get(int x,
int y,
int z) |
double |
getDouble(int x,
int y,
int z)
returns a scaled double between 0 and 1
|
int |
getxMax() |
int |
getxMin() |
int |
getyMax() |
int |
getyMin() |
int |
getzMax() |
int |
getzMin() |
void |
put(int x,
int y,
int z,
byte val)
don't put 0s in here unless you are overwriting a value becuase the class will create memory for them.
|
public int xMin
public int xMax
public int yMin
public int yMax
public int zMin
public int zMax
public void put(int x, int y, int z, byte val)
put
in interface Byte3DArray
public byte get(int x, int y, int z)
get
in interface Byte3DArray
public double getDouble(int x, int y, int z)
getDouble
in interface Byte3DArray
x
- y
- z
- public int getxMin()
getxMin
in interface Byte3DArray
public int getxMax()
getxMax
in interface Byte3DArray
public int getyMin()
getyMin
in interface Byte3DArray
public int getyMax()
getyMax
in interface Byte3DArray
public int getzMin()
getzMin
in interface Byte3DArray
public int getzMax()
getzMax
in interface Byte3DArray
Copyright © 2015–2021 Fiji. All rights reserved.