Package fr.soleil.salsa.entity.impl.scan2d

Examples of fr.soleil.salsa.entity.impl.scan2d.Trajectory2DYImpl


    }

    public static void computeEndPositionChange(ITrajectory2DY trajectory, boolean deltaLock,
            boolean yTrajectory, double integrationTime) {

        Trajectory2DYImpl trajectoryImpl = (Trajectory2DYImpl) AutoCopier.toImpl(trajectory);
        Trajectory2DYImpl result = (Trajectory2DYImpl) Config2DApi.computeEndPositionChange(
                trajectoryImpl, deltaLock, yTrajectory, integrationTime);

        swapTrajectory(trajectory, result);

        // return null;
View Full Code Here


    }

    public static void computeStepsNumberChange(ITrajectory2DY trajectory, boolean yTrajectory,
            double integrationTime) {

        Trajectory2DYImpl trajectoryImpl = (Trajectory2DYImpl) AutoCopier.toImpl(trajectory);
        Trajectory2DYImpl result = (Trajectory2DYImpl) Config2DApi.computeStepsNumberChange(
                trajectoryImpl, true, 1);

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

    }
View Full Code Here

    }

    public static void computeDeltaChange(ITrajectory2DY trajectory, boolean yTrajectory,
            double integrationTime) {
        Trajectory2DYImpl trajectoryImpl = (Trajectory2DYImpl) AutoCopier.toImpl(trajectory);

        Trajectory2DYImpl result = (Trajectory2DYImpl) Config2DApi.computeDeltaChange(
                trajectoryImpl, yTrajectory, integrationTime);

        swapTrajectory(trajectory, result);

    }
View Full Code Here

        }
    }

    private ITrajectory2DY getPartialTrajectory(ITrajectory2DY src) {

        Trajectory2DYImpl result = (Trajectory2DYImpl) AutoCopier.toImpl(src);
        return result;

    }
View Full Code Here

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

                ((ITrajectory1D) trajectory).setDeltaConstant(false);

            }
            else if (config instanceof IConfig2D) {
                if (yActuator) {
                    trajectory = new Trajectory2DYImpl();
                    ((ITrajectory2DY) trajectory).setDeltaConstant(false);
                }
                else {
                    trajectory = new Trajectory2DXImpl();
                    ((ITrajectory2DX) trajectory).setDeltaConstant(false);
View Full Code Here

                ((ITrajectory1D) trajectory).setDeltaConstant(false);

            }
            else if (config instanceof IConfig2D) {
                if (yActuator) {
                    trajectory = new Trajectory2DYImpl();
                    ((ITrajectory2DY) trajectory).setDeltaConstant(false);
                }
                else {
                    trajectory = new Trajectory2DXImpl();
                    ((ITrajectory2DX) trajectory).setDeltaConstant(false);
View Full Code Here

                trajectory = new Trajectory2DXImpl();
                ((IDimension2DX) dimension).getRangesList().add((IRange2DX) range);
            }
            else if (dimension instanceof IDimension2DY) {
                range = new Range2DYImpl();
                trajectory = new Trajectory2DYImpl();
                ((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
            }
            else if (dimension instanceof IDimensionEnergy) {
                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
View Full Code Here

                trajectory = new Trajectory2DXImpl();
                ((IDimension2DX) dimension).getRangesList().add((IRange2DX) range);
            }
            else if (dimension instanceof IDimension2DY) {
                range = new Range2DYImpl();
                trajectory = new Trajectory2DYImpl();
                ((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
            }
            else if (dimension instanceof IDimensionEnergy) {
                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
View Full Code Here

                ((ITrajectory1D) trajectory).setDeltaConstant(false);

            }
            else if (config instanceof IConfig2D) {
                if (yActuator) {
                    trajectory = new Trajectory2DYImpl();
                    ((ITrajectory2DY) trajectory).setDeltaConstant(false);
                }
                else {
                    trajectory = new Trajectory2DXImpl();
                    ((ITrajectory2DX) trajectory).setDeltaConstant(false);
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.scan2d.Trajectory2DYImpl

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.