Пример #1
0
 public SlabCluster(Single a, Single b, Single c, Lattice lattice)
 {
     this.a       = 0.5f * a;
     this.b       = 0.5f * b;
     this.c       = 0.5f * c;
     this.lattice = lattice;
 }
Пример #2
0
 public SphericalCluster(Single radiusInternal, Single radiusExternal, Lattice lattice)
 {
     this.lattice        = lattice;
     this.radiusInternal = radiusInternal;
     this.radiusExternal = radiusExternal;
 }
Пример #3
0
 public CylindricCluster(Single radius, Single height, Lattice lattice)
 {
     this.R       = radius;
     this.h       = 0.5f * height;
     this.lattice = lattice;
 }
Пример #4
0
 public ConeCluster(Single radius, Single height, Lattice lattice)
 {
     this.R       = radius;
     this.h       = height;
     this.lattice = lattice;
 }