eu.mihosoft.vrl.v3d.parametrics.LengthParameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaCad Show documentation
Show all versions of JavaCad Show documentation
A Java based CSG Cad library
package eu.mihosoft.vrl.v3d.parametrics;
import java.util.ArrayList;
public class LengthParameter extends Parameter {
public LengthParameter(String key, Double defaultValue, ArrayList options) {
ArrayList opts=new ArrayList();
for(Object d:options)
opts.add(d.toString());
setup(key, new Long((long) (defaultValue*1000.0)), opts);
}
}