Package fr.soleil.salsa.entity.impl.scanenergy

Examples of fr.soleil.salsa.entity.impl.scanenergy.TrajectoryEnergyImpl


     * @return the updated config. It may be another instance entirely.
     */
    public static void computeDeltaChange(ITrajectoryEnergy trajectory) {
        ITrajectoryEnergy trajectoryImpl = AutoCopier.toImpl(trajectory, ITrajectoryEnergy.class);

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeDeltaChange(trajectoryImpl);
        swapTrajectory(trajectoryImpl, trajectoryImpl);
    }
View Full Code Here


                range = new Range2DYImpl();
                trajectory = new Trajectory2DYImpl();
                ((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
            } else if (dimension instanceof IDimensionEnergy) {
                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
                ((IDimensionEnergy) dimension).getRangesEnergyList().add((IRangeEnergy) range);
            } else if (dimension instanceof IDimension1D) {
                range = new Range1DImpl();
                trajectory = new Trajectory1DImpl();
                ((IDimension1D) dimension).getRangesXList().add((IRange1D) range);
View Full Code Here

                    trajectory = new Trajectory2DXImpl();
                    ((ITrajectory2DX) trajectory).setDeltaConstant(false);
                }
            }
            else if (config instanceof IConfigEnergy) {
                trajectory = new TrajectoryEnergyImpl();
            }
            else if (config instanceof IConfigHCS) {
                trajectory = new TrajectoryHCSImpl();
                ((ITrajectoryHCS) trajectory).setDeltaConstant(false);
            }
View Full Code Here

                range = new Range2DYImpl();
                trajectory = new Trajectory2DYImpl();
                ((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
            } else if (dimension instanceof IDimensionEnergy) {
                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
                ((IDimensionEnergy) dimension).getRangesEnergyList().add((IRangeEnergy) range);
            } else if (dimension instanceof IDimension1D) {
                range = new Range1DImpl();
                trajectory = new Trajectory1DImpl();
                ((IDimension1D) dimension).getRangesXList().add((IRange1D) range);
View Full Code Here

    /**
     * Default constructor, that creates a new instance of Trajectory1DImpl and wraps it.
     */
    public TrajectoryEnergyModel() {
        this(new TrajectoryEnergyImpl());
    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.scanenergy.TrajectoryEnergyImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.