Package fr.soleil.salsa.entity.scan2D

Examples of fr.soleil.salsa.entity.scan2D.ITrajectory2DY


        List<ITrajectory> lt1 = r1.getTrajectoriesList();
        List<ITrajectory> lt2 = r2.getTrajectoriesList();
        if (lt1.size() == lt2.size()) {
            int size = lt1.size();
            for (int i = 0; i < size; i++) {
                ITrajectory2DY t1 = (ITrajectory2DY) lt1.get(i);
                ITrajectory2DY t2 = (ITrajectory2DY) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here


        List<ITrajectory> lt1 = r1.getTrajectoriesList();
        List<ITrajectory> lt2 = r2.getTrajectoriesList();
        if (lt1.size() == lt2.size()) {
            int size = lt1.size();
            for (int i = 0; i < size; i++) {
                ITrajectory2DY t1 = (ITrajectory2DY) lt1.get(i);
                ITrajectory2DY t2 = (ITrajectory2DY) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here

        List<ITrajectory> lt1 = r1.getTrajectoriesList();
        List<ITrajectory> lt2 = r2.getTrajectoriesList();
        if (lt1.size() == lt2.size()) {
            int size = lt1.size();
            for (int i = 0; i < size; i++) {
                ITrajectory2DY t1 = (ITrajectory2DY) lt1.get(i);
                ITrajectory2DY t2 = (ITrajectory2DY) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here

     * @param StepsNumbe
     */
    public void computeStepsNumberChange(IRange2DY range, Integer stepsNumber) {

        range.setStepsNumber(stepsNumber);
        ITrajectory2DY trajectory = (ITrajectory2DY) range.getTrajectoriesList().get(0);

        Config2DApiService.computeStepsNumberChange(trajectory, true, 1);

        write();
        refresh();
View Full Code Here

     *
     * @param delta
     */
    public void computeDeltaChange(ITrajectory2DY trajectory, Double delta) {

        ITrajectory2DY trajectoryImpl = getPartialTrajectory(trajectory);
        trajectoryImpl.setDelta(delta);

        ITrajectory2DY result = (ITrajectory2DY) Config2DApi.computeDeltaChange(trajectoryImpl,
                true, 1);

        IRange2DY resultRange = result.getRange();
        IRange2DY range = trajectory.getRange();
        range.setNumberOfSteps(resultRange.getNumberOfSteps());
        range.setStepsNumber(resultRange.getStepsNumber());
        swapRange(range, resultRange);

View Full Code Here

     */
    @Override
    public void notifyDeltaValueChanged(String value, int iPosition, int jPosition) {
        if (!this.actuatorModelsList.isEmpty()) {
            IRange2DY range = getRange(jPosition);
            ITrajectory2DY trajectory = getTrajectory(range, iPosition);
            this.computeDeltaChange(trajectory, Double.valueOf(value));
        }
    }
View Full Code Here

     */
    @Override
    public void notifyFromValueChanged(String value, int iPosition, int jPosition, boolean deltaLock) {
        if (!this.actuatorModelsList.isEmpty()) {
            IRange2DY range = getRange(jPosition);
            ITrajectory2DY trajectory = getTrajectory(range, iPosition);
            this.computeBeginPositionChange(trajectory, Double.valueOf(value), deltaLock);
        }
    }
View Full Code Here

     */
    @Override
    public void notifyToValueChanged(String value, int iPosition, int jPosition, boolean deltaLock) {
        if (!this.actuatorModelsList.isEmpty()) {
            IRange2DY range = getRange(jPosition);
            ITrajectory2DY trajectory = getTrajectory(range, iPosition);
            this.computeEndPositionChange(trajectory, Double.valueOf(value), deltaLock);
        }
    }
View Full Code Here

        List<ITrajectory> lt1 = r1.getTrajectoriesList();
        List<ITrajectory> lt2 = r2.getTrajectoriesList();
        if (lt1.size() == lt2.size()) {
            int size = lt1.size();
            for (int i = 0; i < size; i++) {
                ITrajectory2DY t1 = (ITrajectory2DY) lt1.get(i);
                ITrajectory2DY t2 = (ITrajectory2DY) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here

     * @param StepsNumbe
     */
    public void computeStepsNumberChange(IRange2DY range, Integer stepsNumber) {

        range.setStepsNumber(stepsNumber);
        ITrajectory2DY trajectory = (ITrajectory2DY) range.getTrajectoriesList().get(0);

        Config2DApiService.computeStepsNumberChange(trajectory, true, 1);

        write();
        refresh();
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.scan2D.ITrajectory2DY

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.