public interface BinaryOnOffSetter
Modifier and Type | Method and Description |
---|---|
boolean |
isOff(int x,
int y,
int z)
Does the voxel at this point have an off state?
|
default boolean |
isOff(Point3i point)
Does the voxel at this point have an off state?
|
boolean |
isOn(int x,
int y,
int z)
Does the voxel at this point have an on state?
|
default boolean |
isOn(Point3i point)
Does the voxel at this point have an on state?
|
void |
setOff(int x,
int y,
int z)
Assigns an off state to a voxel at a particular point.
|
default void |
setOff(Point3i point)
Assigns an off state to a voxel at a particular point.
|
void |
setOn(int x,
int y,
int z)
Assigns an on state to a voxel at a particular point.
|
default void |
setOn(Point3i point)
Assigns an on state to a voxel at a particular point.
|
boolean isOn(int x, int y, int z)
x
- the x-component of the point.y
- the y-component of the point.z
- the z-component of the point.boolean isOff(int x, int y, int z)
x
- the x-component of the point.y
- the y-component of the point.z
- the z-component of the point.void setOn(int x, int y, int z)
x
- the x-component of the point.y
- the y-component of the point.z
- the z-component of the point.void setOff(int x, int y, int z)
x
- the x-component of the point.y
- the y-component of the point.z
- the z-component of the point.default void setOn(Point3i point)
point
- the point to assign an on state to.default void setOff(Point3i point)
point
- the point to assign an off state to.default boolean isOn(Point3i point)
point
- the point to assign an on state to.default boolean isOff(Point3i point)
point
- the point to assign an off state to.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.