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

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


                } else {
                    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);
            } else if (config instanceof IConfigK) {
                trajectory = new TrajectoryKImpl();
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

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

     */
    public static void computeIntegrationTimeChange(ITrajectoryEnergy trajectory) {

        ITrajectoryEnergy trajectoryImpl = AutoCopier.toImpl(trajectory, ITrajectoryEnergy.class);

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeIntegrationTimeChange(trajectoryImpl);

        swapRange(trajectory.getRange(), result.getRange());
    }
View Full Code Here

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

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeStepsNumberChange(trajectoryImpl);

        swapRange(trajectory.getRange(), result.getRange());

    }
View Full Code Here

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

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeEndPositionChange(trajectoryImpl, deltaLock);
        swapTrajectoryAndUpdateRange(trajectory, result);
    }
View Full Code Here

     * @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);
        swapTrajectoryAndUpdateRange(trajectory, result);
    }
View Full Code Here

     */
    public static void computeIntegrationTimeChange(ITrajectoryEnergy trajectory) {

        ITrajectoryEnergy trajectoryImpl = AutoCopier.toImpl(trajectory, ITrajectoryEnergy.class);

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeIntegrationTimeChange(trajectoryImpl);

        swapRange(trajectory.getRange(), result.getRange());
    }
View Full Code Here

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

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeStepsNumberChange(trajectoryImpl);

        swapRange(trajectory.getRange(), result.getRange());

    }
View Full Code Here

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

        TrajectoryEnergyImpl result = (TrajectoryEnergyImpl) ConfigScanEnergyApi
                .computeEndPositionChange(trajectoryImpl, deltaLock);
        swapTrajectory(trajectoryImpl, trajectoryImpl);

    }
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.