com.daxie.xops.bd1.BD1UniformGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xopsmanipulator Show documentation
Show all versions of xopsmanipulator Show documentation
XOPSManipulator is a Java library that offers several functions to manipulate matters relating to X operations.
The newest version!
package com.daxie.xops.bd1;
import java.util.Random;
import com.daxie.basis.vector.Vector;
import com.daxie.basis.vector.VectorFunctions;
/**
* Generates blocks according to the uniform distribution.
* @author Daba
*
*/
public class BD1UniformGenerator extends BD1Generator{
public BD1UniformGenerator() {
}
@Override
public void GenerateCubes(int block_num,float edge_length,float scale) {
Random random=new Random();
BD1Creator bd1_creator=this.GetBD1Creator();
for(int i=0;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy