Package fr.soleil.salsa.entity.scanhcs

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS


        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++) {
                ITrajectoryHCS t1 = (ITrajectoryHCS) lt1.get(i);
                ITrajectoryHCS t2 = (ITrajectoryHCS) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here


    }

    public static void computeBeginPositionChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeBeginPositionChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapTrajectory(trajectory, result);
    }
View Full Code Here

        swapTrajectory(trajectory, result);
    }

    public static void computeEndPositionChange(ITrajectoryHCS trajectory, double integrationTime,
            int numberOfPoints) {
        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeEndPositionChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapTrajectory(trajectory, result);

    }
View Full Code Here

    }

    public static void computeIntegrationTimeChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeIntegrationTimeChange(
                trajectoryImpl, integrationTime, numberOfPoints);

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

    }

    public static void computeNumberOfPointsChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeNumberOfPointsChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        IRangeHCS range = trajectory.getRange();
        IRangeHCS rangeResult = result.getRange();

        swapRange(range, rangeResult);

    }
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++) {
                ITrajectoryHCS t1 = (ITrajectoryHCS) lt1.get(i);
                ITrajectoryHCS t2 = (ITrajectoryHCS) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here

    }

    public static void computeBeginPositionChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = (TrajectoryHCSImpl) AutoCopier.toImpl(trajectory);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeBeginPositionChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapTrajectory(trajectory, result);
    }
View Full Code Here

        swapTrajectory(trajectory, result);
    }

    public static void computeEndPositionChange(ITrajectoryHCS trajectory, double integrationTime,
            int numberOfPoints) {
        ITrajectoryHCS trajectoryImpl = (TrajectoryHCSImpl) AutoCopier.toImpl(trajectory);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeEndPositionChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapTrajectory(trajectory, result);

    }
View Full Code Here

    }

    public static void computeIntegrationTimeChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = (TrajectoryHCSImpl) AutoCopier.toImpl(trajectory);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeIntegrationTimeChange(
                trajectoryImpl, integrationTime, numberOfPoints);

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

    }

    public static void computeNumberOfPointsChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {
       
        ITrajectoryHCS trajectoryImpl = (TrajectoryHCSImpl) AutoCopier.toImpl(trajectory);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeNumberOfPointsChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        IRangeHCS range = trajectory.getRange();
        IRangeHCS rangeResult = result.getRange();

        swapRange(range, rangeResult);

    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

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.