Skip to content
Snippets Groups Projects
Commit d188c073 authored by Guylaine Prat's avatar Guylaine Prat
Browse files

Checktyle corrections: internal representation exposures; unsued import

parent 166d78c2
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ public class Noise { ...@@ -28,7 +28,7 @@ public class Noise {
private static final int GAUSSIAN = 0; private static final int GAUSSIAN = 0;
/** Dimension. */ /** Dimension. */
private static int dimension; private int dimension;
/** Mean. */ /** Mean. */
private double[] mean; private double[] mean;
...@@ -47,50 +47,49 @@ public class Noise { ...@@ -47,50 +47,49 @@ public class Noise {
this.mean = new double[dimension]; this.mean = new double[dimension];
this.standardDeviation = new double[dimension]; this.standardDeviation = new double[dimension];
Noise.dimension = dimension; this.dimension = dimension;
this.distribution = distribution; this.distribution = distribution;
} }
/** Get the mean /** Get the mean.
* @return the mean * @return the mean
*/ */
public double[] getMean() { public double[] getMean() {
return mean; return mean.clone();
} }
/** Set the mean /** Set the mean.
* @param mean the mean to set * @param meanValue the mean to set
*/ */
public void setMean(final double[] mean) { public void setMean(final double[] meanValue) {
this.mean = mean; this.mean = meanValue.clone();
} }
/** Get the standard deviation /** Get the standard deviation.
* @return the standard deviation * @return the standard deviation
*/ */
public double[] getStandardDeviation() { public double[] getStandardDeviation() {
return standardDeviation; return standardDeviation.clone();
} }
/** Set the standard deviation /** Set the standard deviation.
* @param standardDeviation the standard deviation to set * @param standardDeviationValue the standard deviation to set
*/ */
public void setStandardDeviation(final double[] standardDeviation) { public void setStandardDeviation(final double[] standardDeviationValue) {
this.standardDeviation = standardDeviation; this.standardDeviation = standardDeviationValue.clone();
} }
/** Get the distribution /** Get the distribution.
* @return the distribution * @return the distribution
*/ */
public int getDistribution() { public int getDistribution() {
return distribution; return distribution;
} }
/** Get the dimension /** Get the dimension.
* @return the dimension * @return the dimension
*/ */
public static int getDimension() { public int getDimension() {
return dimension; return dimension;
} }
} }
...@@ -21,15 +21,11 @@ import java.util.List; ...@@ -21,15 +21,11 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import org.orekit.rugged.api.Rugged;
import org.orekit.rugged.linesensor.LineSensor;
import org.orekit.rugged.linesensor.SensorPixel; import org.orekit.rugged.linesensor.SensorPixel;
import org.orekit.rugged.utils.SpacecraftToObservedBody;
import org.orekit.time.AbsoluteDate;
/** Container for mapping sensors pixels of two viewing models. /** Container for mapping sensors pixels of two viewing models.
* Store the distance between both lines of sight computed with * Store the distance between both lines of sight computed with
* {@link Rugged#distanceBetweenLOS(LineSensor, AbsoluteDate, double, SpacecraftToObservedBody, LineSensor, AbsoluteDate, double)} * {@link org.orekit.rugged.api.Rugged#distanceBetweenLOS(org.orekit.rugged.linesensor.LineSensor, org.orekit.time.AbsoluteDate, double, org.orekit.rugged.utils.SpacecraftToObservedBody, org.orekit.rugged.linesensor.LineSensor, org.orekit.time.AbsoluteDate, double)}
* <p> Constraints in relation to Earth distance can be added. * <p> Constraints in relation to Earth distance can be added.
* @see SensorMapping * @see SensorMapping
* @author Lucie LabatAllee * @author Lucie LabatAllee
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment