AbstractLattice<Vector>
, SpaceLattice
public class LatticeHcp extends BravaisLatticeCrystal
primitive
basis
Constructor | Description |
---|---|
LatticeHcp(Space space) |
Hexagonal hcp crystal with a lattice constant that gives a
maximum-density structure for spheres of unit.
|
LatticeHcp(Space space,
double latticeConstant) |
Modifier and Type | Method | Description |
---|---|---|
void |
scaleBy(double scaleFactor) |
Rescales the lattice by the given factor.
|
java.lang.String |
toString() |
getLatticeConstants, getPrimitive, getSpace, setPrimitive
D, getBasis, site
public LatticeHcp(Space space)
Use scaleBy method if desired to make lattice constant give maximum density for another sphere size.
public LatticeHcp(Space space, double latticeConstant)