public class Fill
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Fill.Node
Defines a node in a filled structure.
|
Modifier and Type | Field and Description |
---|---|
double |
distanceThreshold |
java.lang.String |
metric |
java.lang.String |
spacing_units |
double |
x_spacing |
double |
y_spacing |
double |
z_spacing |
Constructor and Description |
---|
Fill() |
Modifier and Type | Method and Description |
---|---|
void |
add(int x,
int y,
int z,
double distance,
int previous,
boolean open) |
java.lang.String |
getMetric() |
double |
getThreshold() |
double |
getVolume()
Returns the Fill volume.
|
void |
setMetric(java.lang.String metric) |
void |
setSourcePaths(Path[] newSourcePaths) |
void |
setSourcePaths(java.util.Set<Path> newSourcePaths) |
void |
setSpacing(double x_spacing,
double y_spacing,
double z_spacing,
java.lang.String units) |
void |
setThreshold(double threshold) |
void |
writeNodesXML(java.io.PrintWriter pw) |
void |
writeXML(java.io.PrintWriter pw,
int fillIndex) |
public double distanceThreshold
public java.lang.String metric
public double x_spacing
public double y_spacing
public double z_spacing
public java.lang.String spacing_units
public void add(int x, int y, int z, double distance, int previous, boolean open)
public void setSourcePaths(Path[] newSourcePaths)
public void setSourcePaths(java.util.Set<Path> newSourcePaths)
public void setMetric(java.lang.String metric)
public java.lang.String getMetric()
public void setSpacing(double x_spacing, double y_spacing, double z_spacing, java.lang.String units)
public void setThreshold(double threshold)
public double getThreshold()
public void writeNodesXML(java.io.PrintWriter pw)
public void writeXML(java.io.PrintWriter pw, int fillIndex)
public double getVolume()