public class DuplicateTriplyPeriodicTool extends AbstractTool
sg
(to which the tool is attached) along an
orthogonal lattice (aligned with the axes, but with arbitrary lattice spacing).
It is assumed that sg
has a single parent p
. All the
the newly generated copies of sg
(they are by reference only) will
be descendants of p
as well.Constructor and Description |
---|
DuplicateTriplyPeriodicTool(double latticeX,
double latticeY,
double latticeZ,
double centerX,
double centerY,
double centerZ) |
Modifier and Type | Method and Description |
---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, perform, removeCurrentSlot, setDescription
public DuplicateTriplyPeriodicTool(double latticeX, double latticeY, double latticeZ, double centerX, double centerY, double centerZ)
public void activate(ToolContext tc)
Tool
activate
in interface Tool
activate
in class AbstractTool
tc
- The current tool context