public class Fill extends 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 |
SNT.CostType |
metric |
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) |
SNT.CostType |
getMetric() |
List<Fill.Node> |
getNodeList() |
Set<Path> |
getSourcePaths() |
String |
getSourcePathsStringHuman() |
String |
getSourcePathsStringMachine() |
double |
getThreshold() |
double |
getVolume()
Returns the Fill volume.
|
void |
setMetric(SNT.CostType cost) |
void |
setSourcePaths(Path[] newSourcePaths) |
void |
setSourcePaths(Set<Path> newSourcePaths) |
void |
setSpacing(double x_spacing,
double y_spacing,
double z_spacing,
String units) |
void |
setThreshold(double threshold) |
String |
toString() |
void |
writeNodesXML(PrintWriter pw) |
void |
writeXML(PrintWriter pw,
int fillIndex) |
public double distanceThreshold
public SNT.CostType metric
public double x_spacing
public double y_spacing
public double z_spacing
public 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 setMetric(SNT.CostType cost)
public SNT.CostType getMetric()
public void setSpacing(double x_spacing, double y_spacing, double z_spacing, String units)
public void setThreshold(double threshold)
public double getThreshold()
public void writeNodesXML(PrintWriter pw)
public void writeXML(PrintWriter pw, int fillIndex)
public double getVolume()
public String getSourcePathsStringMachine()
public String getSourcePathsStringHuman()
Copyright © 2015–2021 Fiji. All rights reserved.