示例#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;
 }