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

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


    }

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

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

        swapTrajectory(trajectory, result);

        // return null;
View Full Code Here


    }

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

        Trajectory2DYImpl trajectoryImpl = AutoCopier.toImpl(trajectory, Trajectory2DYImpl.class);
        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 = AutoCopier.toImpl(trajectory, Trajectory2DYImpl.class);
        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 = AutoCopier.toImpl(trajectory, Trajectory2DYImpl.class);

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

        swapTrajectory(trajectory, result);

    }
View Full Code Here

    }

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

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

        swapTrajectory(trajectory, result);

        // return null;
View Full Code Here

    }

    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

                ((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

        }
    }

    private ITrajectory2DY getPartialTrajectory(ITrajectory2DY src) {

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

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