}
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);
}