import java.io.OutputStream;
import java.text.DecimalFormat;
import java.text.NumberFormat;
-import java.util.Collection;
-import java.util.Set;
import javax.measure.quantity.Duration;
import javax.measure.quantity.Force;
import org.jscience.physics.amount.Amount;
import com.billkuker.rocketry.motorsim.Burn;
-import com.billkuker.rocketry.motorsim.CylindricalChamber;
import com.billkuker.rocketry.motorsim.GraphSimplifier;
+import com.billkuker.rocketry.motorsim.ICylindricalChamber;
public class ENGExporter {
public static void export(Burn b, OutputStream os) throws IOException {
- CylindricalChamber cha = (CylindricalChamber) b.getMotor().getChamber();
+ ICylindricalChamber cha = (ICylindricalChamber) b.getMotor().getChamber();
- NumberFormat nf = new DecimalFormat("00.###");
+ NumberFormat nf = new DecimalFormat("00.####");
StringBuffer out = new StringBuffer();