![JAR search and dependency download from the Maven repository](/logo.png)
eu.mihosoft.vrl.v3d.parametrics.CSGCache Maven / Gradle / Ivy
package eu.mihosoft.vrl.v3d.parametrics;
import java.util.HashMap;
import eu.mihosoft.vrl.v3d.CSG;
import eu.mihosoft.vrl.v3d.ItoCSG;
public class CSGCache {
private HashMap chache = new HashMap<>();
CSG get(String key, ItoCSG builder){
if(chache.get(key) == null){
chache.put(key, builder.toCSG());
}
return chache.get(key);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy